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

Lost/corrupted data N96GY

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
Worf
Posts: 17
Joined: Mon 06 Feb 2012 1:06 pm
Weather Station: N96GY
Operating System: Windows 8.1
Location: Pwllheli, Gwynedd
Contact:

Lost/corrupted data N96GY

Post 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.
Image
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: Lost/corrupted data N96GY

Post 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.
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Lost/corrupted data N96GY

Post 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. ;)
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: Lost/corrupted data N96GY

Post 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.
Steve
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: Lost/corrupted data N96GY

Post by steve »

mcrossley wrote:and not just when upgrading, if you take them daily anyway then you should never lose much data. ;)
Indeed.
Steve
Worf
Posts: 17
Joined: Mon 06 Feb 2012 1:06 pm
Weather Station: N96GY
Operating System: Windows 8.1
Location: Pwllheli, Gwynedd
Contact:

Re: Lost/corrupted data N96GY

Post 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!)
Image
Worf
Posts: 17
Joined: Mon 06 Feb 2012 1:06 pm
Weather Station: N96GY
Operating System: Windows 8.1
Location: Pwllheli, Gwynedd
Contact:

Re: Lost/corrupted data N96GY

Post 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.
Image
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: Lost/corrupted data N96GY

Post 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...
Steve
Post Reply