Page 1 of 2
4063 - snow chart without day increment
Posted: Fri 06 Dec 2024 8:34 pm
by Dador
I noticed that the snow chart is the only one that does not have an increase in days according to the calendar. As you can see in the image, the data stopped at the last recorded snowfall.
This situation occurs in all my CMX installations.
Re: 4063 - snow chart without day increment
Posted: Fri 06 Dec 2024 8:47 pm
by freddie
I'm assuming you have to enter 0 if you don't have any snow?
Re: 4063 - snow chart without day increment
Posted: Sat 07 Dec 2024 7:58 am
by HansR
It must be a chart definition thing. In CUtils the chart does add a day also without observation.
Re: 4063 - snow chart without day increment
Posted: Sat 07 Dec 2024 10:28 am
by mcrossley
Fixed for the next release
Re: 4063 - snow chart without day increment
Posted: Sun 08 Dec 2024 5:27 pm
by Dador
I just wanted to add that the files selectachart.js (website) and chartscompare.js, chartsperiod.js (dashboard) seem to be missing the code for the snow values.
Re: 4063 - snow chart without day increment
Posted: Mon 09 Dec 2024 3:25 pm
by mcrossley
Dador wrote: ↑Sun 08 Dec 2024 5:27 pm
I just wanted to add that the files
selectachart.js (website) and
chartscompare.js, chartsperiod.js (dashboard) seem to be missing the code for the snow values.
The selectacharts are for recent data, the snow data is daily.
When the LDS01 becomes available I'll look at adding its data to the recent charts.
Re: 4063 - snow chart without day increment
Posted: Mon 09 Dec 2024 8:31 pm
by Dador
Unfortunately, build 4064 did not solve the problems with displaying snow charts. All the time, the chart ends with the last recorded snow event, not according to the calendar days.
Re: 4063 - snow chart without day increment
Posted: Mon 09 Dec 2024 8:36 pm
by mcrossley
Ah, yes it will. But it should now show all the days between events.
EDIT: Sorry, thinking about it, it probably doesn't - I was fooled by the test database I was using!
Re: 4063 - snow chart without day increment
Posted: Mon 09 Dec 2024 9:44 pm
by mcrossley
Question: If the graph is being padded out with null values for all those days without a diary entry, should the graph start at the date of the first diary record, or from the records began date?
I'm inclined to go the first diary entry date as the start date.
Re: 4063 - snow chart without day increment
Posted: Mon 09 Dec 2024 10:02 pm
by PaulMy
Question: If the graph is being padded out with null values for all those days without a diary entry, should the graph start at the date of the first diary record, or from the records began date?
I would say from the first entry. I presume that if I add earlier records once I decode CU1 log.xml files then the graph start would be from those added earlier records.
Enjoy,
Paul
Re: 4063 - snow chart without day increment
Posted: Mon 09 Dec 2024 10:11 pm
by Dador
mcrossley wrote: ↑Mon 09 Dec 2024 9:44 pm
I'm inclined to go the first diary entry date as the start date.
Good idea.
Re: 4063 - snow chart without day increment
Posted: Mon 09 Dec 2024 10:16 pm
by mcrossley
PaulMy wrote: ↑Mon 09 Dec 2024 10:02 pm
I would say from the first entry. I presume that if I add earlier records once I decode CU1 log.xml files then the graph start would be from those added earlier records.
It does!
Re: 4063 - snow chart without day increment
Posted: Tue 10 Dec 2024 6:25 am
by HansR
Technical: Actually my CUtils charts does all that by default and I compared it with the CMX chart but I do not see what qualifier does realise that.
Re: 4063 - snow chart without day increment
Posted: Tue 10 Dec 2024 9:31 am
by Dador
@HansR
Interestingly, in my Cutils the snow plots have the same symptom as in CMX. No increase in days according to the calendar.
Re: 4063 - snow chart without day increment
Posted: Tue 10 Dec 2024 10:21 am
by HansR
Dador wrote: ↑Tue 10 Dec 2024 9:31 am
@HansR
Interestingly, in my Cutils the snow plots have the same symptom as in CMX. No increase in days according to the calendar.
Indeed, my own chart now does the same. I have no idea what's going on. Yesterday it had the additional calender days.
Anyway. Now I'll wait for Mark to see what he does.