Page 1 of 1

Lost/corrupted data N96GY

Posted: Tue 22 Oct 2013 1:29 pm
by Worf
I seem to have a problem with some corrupt data. I updated to the latest version of Cumulus in August 2013 and it is some of the data before then that appears to be corrupted, giving wrong results for "All time records" etc . I went to "View>highs and lows>monthly" no data appears before August 2013. also, when I went to "edit>monthly records" then all data before Aug 2013 appears to be corrupt.

It looks as though the log files are corrupted, but the day file appears ok. I have reset the monthly records (for 2013) using the dayfile data, but this does not reset the alltime records for "highest monthly rainfall" etc. Is it possible to somehow run cumulus from when my records began, using the dayfile data, in order to reconstruct all records?

Apologies if this has already been answered, but I couldnt find it in search.

Re: Lost/corrupted data N96GY

Posted: Tue 22 Oct 2013 1:48 pm
by steve
There are some all-time records which the editor can't extract from dayfile.txt because the data simply isn't available in there. Highest Monthly Rainfall is the one it probably could do, as it happens, but it doesn't, and I'm not sure why not, it may be a bug.

What exactly is the problem with the files from before August 2013? What does the July log file look like, for example?

Presumably you didn't take a backup before installing a new version of Cumulus? I've never heard of an upgrade corrupting data before, and it's hard to see how that could happen, but it's always a good idea to take a backup when upgrading.

Re: Lost/corrupted data N96GY

Posted: Tue 22 Oct 2013 1:54 pm
by mcrossley
steve wrote:...but it's always a good idea to take a backup when upgrading.
and not just when upgrading, if you take them daily anyway then you should never lose much data. ;)

Re: Lost/corrupted data N96GY

Posted: Tue 22 Oct 2013 1:56 pm
by steve
Actually, having tried the all-time editor on my real data as opposed to my messed up test data, it does actually regenerate all of the all-time records from dayfile.txt. So if it isn't doing it for you, you probably have an error in dayfile.txt. It should flash the error light, and clicking on it will show you the problem.

Re: Lost/corrupted data N96GY

Posted: Tue 22 Oct 2013 1:57 pm
by steve
mcrossley wrote:and not just when upgrading, if you take them daily anyway then you should never lose much data. ;)
Indeed.

Re: Lost/corrupted data N96GY

Posted: Tue 22 Oct 2013 2:34 pm
by Worf
I agree, I should have kept backups! :(

Very strange, when I now go to edit monthly records and add logfile data it appears very similar to the dayfile data, whereas before there were lots of "-99999.9" and "????" type errors, so it looks as though the data wasnt corrupt after all!. The only thing that doesnt appear correct is the monthly rainfall records which before August all appear as "0.00 inches" and a date of "Dec1899" !

If I edit the "Dec1899" to "Jun 2013" (on the Jun 2013 page) it doesnt make any difference and still shows zero rain on "Highest monthly rainfall". Looks like I shall have to live with highest monthly rainfall being October 2013 (which may well be the case the way it is going!)

Re: Lost/corrupted data N96GY

Posted: Tue 22 Oct 2013 3:02 pm
by Worf
Sorted! (well nearly)
Went back in to edit records again and reloaded the dayfile data again, and this time I got some results for monthly rain. Dont really know why it worked this time but it did. Still showing Oct 2013 as wettest month, but hopefully that will sort itself out at the month end.

Re: Lost/corrupted data N96GY

Posted: Tue 22 Oct 2013 3:16 pm
by steve
Getting different results each time you try it, and garbled data, suggests to me that you have a hard drive problem or something similar...