Page 1 of 1
Day File Not Created
Posted: Tue 07 Aug 2012 11:43 am
by Cambium
After losing sensor contact (AGAIN) and multiple error readings, I went in and fixed a bunch of stuff. I used the editor mode for all the record highs it read wrong. I then noticed the "averages and extremes" were still off so I found out that goes by the "day file" folder. So I fixed that as well.
But now I see "yesterdays" data is not coming up and that the entire day of 07/08/12 is missing from the day file. Not sure how to add that whole line or why its not grabbing it.
Attached is the diags file.

Re: Day File Not Created
Posted: Tue 07 Aug 2012 11:58 am
by steve
Because you had such a long period of missing data due to the lack of sensor contact, it didn't have any data to process to do the daily rollover. Handling long periods of no data, like the other "quirks" of Fine Offset stations, was not something I built in to Cumulus, as it was not something I experienced with my Oregon Scientific and Davis stations (the two station types that Cumulus originally handled). It's not easy to add it at this stage. I'm surprised however, that it didn't eventually do the rollover when it did get some valid data, as I have put 'fallback' code in which does the rollover immediately if it spots that one has not yet occurred. The relevant diags file suddenly cuts off, as if Cumulus was terminated, so I can't see why this didn't happen. Or perhaps that code is in 1.9.3...
You can use the dayfile.txt editor and get it to add the missing entry based on the (incomplete) data available in the August log file. Unfortunately, it's not so simple to correct for the other effects of the missing rollover; your today.ini file will potentially have data from yesterday in it. Your yesterday.ini file is not quite so important and will get recreated assuming you have a successful rollover at the end of today.
If you frequently get long periods of lost sensor contact, then you really need to remedy this.
Re: Day File Not Created
Posted: Tue 07 Aug 2012 12:21 pm
by Cambium
steve wrote:
You can use the dayfile.txt editor and get it to add the missing entry based on the (incomplete) data available in the August log file. Unfortunately, it's not so simple to correct for the other effects of the missing rollover; your today.ini file will potentially have data from yesterday in it. Your yesterday.ini file is not quite so important and will get recreated assuming you have a successful rollover at the end of today.
.
Thank you Sir. Didnt realize there was the option to add missing data. So I had 4 missing days.
After I clicked ok I had a bug report. I attached the bug report and a screenshot.

Re: Day File Not Created
Posted: Tue 07 Aug 2012 12:34 pm
by steve
It can't write to dayfile.txt. The error shown is apparently usually due to a permissions problem; you could try setting Cumulus to 'run as administrator', but I am afraid I have no idea why Cumulus is being told it doesn't have permission to write to a file that it presumably normally does write to - or perhaps this is the reason for your missing entry in the the first place.