Page 1 of 1

Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Tue 27 Apr 2010 2:31 pm
by grasstley
For some reason these two graphs are no longer working correctly. They both show data for 1/12/2020 to 31/12/2020. I have gone through every data file and none appear to have been corrupted. Nothing appears to make any difference. As these are the only two graphs with a months data as opposed to daily data where can do they get data from and what has gone wrong? They have not changed for several weeks - just stuck displaying this particular (future) period.(Cumulus Version 1.8.9 build 930. Weather Station Watson W8681). Wish it predicted future lottery numbers.

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Tue 27 Apr 2010 4:27 pm
by daj
Hi, and welcome to the forum.

Each of these graphs takes it data from the dayfile.txt file so one would assume there is an issue there. Can you upload your dayfile and we can have a look

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Tue 27 Apr 2010 5:02 pm
by grasstley
Sorry never had a chance to add a note. I am also sending screen shot of the View Graph panel.

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Tue 27 Apr 2010 5:08 pm
by daj
Your dayfile date format has changed near the bottom....

Code: Select all

04/04/2010,12.1,68,10:53,3.7,04:48,14.4,16:13,998.4,00:38,1016.3,23:53,0,00:03,0,8.1,40.7
05/04/2010,17.4,180,13:03,3.7,02:23,15,17:08,1016.3,17:03,1017.6,02:43,0,00:03,0,9.5,66.3
06/04/2010,15.9,135,12:23,6.5,05:13,19.2,15:08,1008.5,16:58,1017.3,00:08,0,00:03,0,12.5,61.2
07/04/10,9.8,315,14:33,8.0,22:35,11.3,13:52,1009.1,02:23,1021.6,23:00,0.0,00:03,0.0,10.0,50.5
08/04/10,6.9,22,12:34,2.9,07:06,22.0,15:14,1021.6,00:03,1029.2,22:42,3.6,08:40,0.3,12.3,16.8
09/04/10,6.0,292,15:16,5.3,06:18,21.7,13:41,1029.1,00:07,1031.3,22:22,3.6,09:20,0.3,13.6,10.8
10/04/10,8.3,68,18:02,5.7,05:17,20.7,15:12,1028.2,18:02,1031.8,08:02,3.6,08:47,0.3,13.2,21.2
Cumulus can not handle changes to date format, units changes for temp, wind etc, everything needs to be consistent.

Did you change your regional settings on 7 April, or the date format? You can see how your year has went from four digits down to two

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Tue 27 Apr 2010 6:35 pm
by grasstley
Thanks for the prompt reply. I have changed the year format from /10 to /2010 in the dayfile but to no effect. The graphs still show the date range 1 - 31/12/2020. I haven't changed any of the units (or not knowingly). Although I have data from late April 2009 I am tempted to delete all the files and the program and re-install as I would rather have good future data and the unchanging December 2020 graphs are annoying, and I have spent a lot of time looking for the reasons!

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Tue 27 Apr 2010 6:44 pm
by daj
I assume you edited the dayfile when Cumulus was not running? You would also need to ensure you regional settings on the PC are correct.

The dayfile expects all the dates to be in in dd/mm/yy - I am not sure how you got some early dates with four digit years


http://wiki.sandaysoft.com/a/Dayfile.txt

I changed one entry in my dayfile from yy to yyyy and got the same result as you are now getting so it's clearly the dayfile date problem

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Tue 27 Apr 2010 7:02 pm
by grasstley
I will try changing all dd/mm/ yyyy to /yy and see what happens. Thanks.

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Tue 27 Apr 2010 7:52 pm
by grasstley
Solved!

Many thanks David - I was about to give up.

Chris

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Fri 30 Apr 2010 4:47 am
by mpoling
Not solved :)
Same problem, have never edited my file. Cumulus did this all on it's own.
Given that I have data from July 2009, I certainly can't go back and change every date by editing...it would take months!
Any easy fix?
Mike

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Fri 30 Apr 2010 5:06 am
by GrahamBuxton
mpoling wrote:Not solved :)
Same problem, have never edited my file. Cumulus did this all on it's own.
Given that I have data from July 2009, I certainly can't go back and change every date by editing...it would take months!
Any easy fix?
Mike
The "dayfile.txt" file is just a delimited text file, and virtually any text editor has a "search and replace" function. So if the problem is the dates have mm/dd/yyyy and you need mm/dd/yy, as in 4/30/2010, just search for /2010 and replace with /10. Quite simple to cover only two different years.

Just make sure you have a backup file before you start.

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Fri 30 Apr 2010 8:56 am
by daj
mpoling wrote:Cumulus did this all on it's own.
Nope!

You must have changed your PC settings at some point to change your date format

Re: Max/Min and Rainfall Data in 'View Graphs' show 2020 data??

Posted: Sun 02 May 2010 11:05 am
by steve
Cumulus uses a system function to format the date in dayfile.txt, and asks for the format "dd/mm/yy". The 'slash' becomes whatever your system date separator is set to, but you would assume that "yy" always gets returned as a 2-digit value, so it seems unlikely that Cumulus could ever write the date in dayfile.txt with a 4-digit value.