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

Editing data - where to start?

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
tumutbound
Posts: 154
Joined: Thu 11 Mar 2010 11:03 am
Weather Station: WH1081
Operating System: Linux, Raspberry Pi (Wheezy)
Location: Port Huon, Tasmania , Australia
Contact:

Editing data - where to start?

Post by tumutbound »

At about 6:00PM today, my weatherstation (Fine Offset wh1081) threw up some readings that were way out of range.
Temperature, wind and rainfall were effected. These values have of course made it into the records.

I want to fix this but I'm not sure which files I should edit and in which order (if important)
A quick search didn't reveal any helpful hints.

How do I restore the previous records that have been overwritten?

Regards
Geoff
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: Editing data - where to start?

Post by steve »

Edit the September log file. If the errors are still from 'today' you don't need to edit dayfile.txt but you will probably need to edit today.ini. Having done that, you can either recreate the records using the editor and getting it fetch the values from the log files, or just copy the alltime.ini file (and probably also month.ini and year.ini) from the latest backup set created by Cumulus when it started up (or daily in 1.9.3, but I assume you're not using that).

You might want to look at the 'spike removal' settings on the calibration screen.
Steve
tumutbound
Posts: 154
Joined: Thu 11 Mar 2010 11:03 am
Weather Station: WH1081
Operating System: Linux, Raspberry Pi (Wheezy)
Location: Port Huon, Tasmania , Australia
Contact:

Re: Editing data - where to start?

Post by tumutbound »

Using 1.9.3, the latest beta.
My weather
CumulusMX (3036)
Raspberry Pi: Wheezy
FineOffset WH1081
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: Editing data - where to start?

Post by steve »

Then you'll also have to correct the 'month-by-month' records, and you will have a daily backup set taken just after midnight. By far the easiest way to correct all the high/low records, assuming you haven't broken any genuine ones today, is to stop Cumulus and copy the month.ini, year.ini, alltime.ini and monthlyalltime.ini from that backup into the data folder.
Steve
tumutbound
Posts: 154
Joined: Thu 11 Mar 2010 11:03 am
Weather Station: WH1081
Operating System: Linux, Raspberry Pi (Wheezy)
Location: Port Huon, Tasmania , Australia
Contact:

Re: Editing data - where to start?

Post by tumutbound »

Thanks Steve, I'll get started on that.

One question regarding the monthlyalltime file. The dates in it are 30/12/1899 and values are either 999 or -999 (or 0).
What is this file used for? Nothing in the wiki.
My weather
CumulusMX (3036)
Raspberry Pi: Wheezy
FineOffset WH1081
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: Editing data - where to start?

Post by steve »

It's presumably not been added to the wiki because it was introduced in 1.9.3, which is still in beta. It holds the 'month-by-month' records. If you have any months that still have default dates and values, then you probably didn't didn't carry out the procedure for initialising the values after you installed 1.9.3.
Steve
tumutbound
Posts: 154
Joined: Thu 11 Mar 2010 11:03 am
Weather Station: WH1081
Operating System: Linux, Raspberry Pi (Wheezy)
Location: Port Huon, Tasmania , Australia
Contact:

Re: Editing data - where to start?

Post by tumutbound »

I thought I had initialised the monthly records but I've just gone back to do it again following the instruction in the beta thread i.e.

1. Open the new monthly records editor (on the Edit) menu
2. Click the 'fetch dayfile data' button, select the tab for each month in turn and click the 'copy' button in the header row to copy the dayfile data
3. Click OK.

The timestamp of the file is updated but the values in it remain the same.

edit: The monthly values do appear correctly on my website.
My weather
CumulusMX (3036)
Raspberry Pi: Wheezy
FineOffset WH1081
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: Editing data - where to start?

Post by steve »

I can only see values for August and September on your web site; are you sure you clicked 'Copy' for all 12 months?
Steve
tumutbound
Posts: 154
Joined: Thu 11 Mar 2010 11:03 am
Weather Station: WH1081
Operating System: Linux, Raspberry Pi (Wheezy)
Location: Port Huon, Tasmania , Australia
Contact:

Re: Editing data - where to start?

Post by tumutbound »

The weather station has only been installed since early August, no earlier data available. :D
My weather
CumulusMX (3036)
Raspberry Pi: Wheezy
FineOffset WH1081
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: Editing data - where to start?

Post by steve »

Ah, right, that makes sense.
Steve
Post Reply