Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

dayfile.txt is not being read

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

dayfile.txt is not being read

Post 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
You do not have the required permissions to view the files attached to this post.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: dayfile.txt is not being read

Post 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.
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: dayfile.txt is not being read

Post 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:
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: dayfile.txt is not being read

Post by steve »

daj wrote:Excel
:bash:

:lol:
Steve
Post Reply