Page 1 of 1

dayfile.txt is not being read

Posted: Tue 16 Aug 2011 2:15 pm
by daj
Cumulus appears to have stopped reading my dayfile.txt :-(

Background...

Earlier today I noticed that it had recorded a highest windspeed for a few days ago of 99mph. I used the Cumulus Edit All Time records and asked it to fetch the dayfile and I copied a more sensible speed into the entry.

I then restarted Cumulus and the error light was flashing. I clicked and was told that the dayfile.txt was corrupt at line 53.

I looked at dayfile.txt and after some time spotted that the "total hours of sunshine" had repeated itself (i.e. 0 as I do not have a sunshine recorded) into the next column. So Sunshine and the next column were both zero and this pushed all other columns along by one.

I fixed it and re stared Cumulus, however I noticed my monthly rainfall total and yearly were the same value as today.

When I go into Edit Records and Fetch dayfile it returns ----

If I load the dayfile in a text editor (or Toolbox) everything looks fine, but Cumulus will not read it.

I attach my dayfile.txt and also the latest log from the diag folder.

(on a side note -- I don't understand line 40 & 41 of the cumulus.009 log file -- I don't have that entry in my dayfile.txt -- maybe I am not supposed to!)

I'm now stumped!

Any help appreciated

Re: dayfile.txt is not being read

Posted: Tue 16 Aug 2011 2:36 pm
by steve
daj wrote:Cumulus appears to have stopped reading my dayfile.txt :-(
Your dates are all dd/mm/yyyy, they have to be dd/mm/yy.
I looked at dayfile.txt and after some time spotted that the "total hours of sunshine" had repeated itself (i.e. 0 as I do not have a sunshine recorded) into the next column. So Sunshine and the next column were both zero and this pushed all other columns along by one.
Yes, that was a bug in build 1000 or so.
(on a side note -- I don't understand line 40 & 41 of the cumulus.009 log file -- I don't have that entry in my dayfile.txt -- maybe I am not supposed to!)
That line is in Aug11log.txt, not dayfile.txt, as it says on line 39.

Re: dayfile.txt is not being read

Posted: Tue 16 Aug 2011 2:40 pm
by daj
steve wrote: Your dates are all dd/mm/yyyy, they have to be dd/mm/yy.
Perfect, now fixed. I have looked at it for so long that I totally missed that school boy error.

After finding all the sunshine columns moving everything, I whipped it into Excel to repair quickly -- it must have added the yyyy for the date.

gracias
:clap:

Re: dayfile.txt is not being read

Posted: Tue 16 Aug 2011 2:53 pm
by steve
daj wrote:Excel
:bash:

:lol: