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

how to adjust raincounter when importing legacy data

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

how to adjust raincounter when importing legacy data

Post by Gyvate »

the following scenario:
- CMX build 3244 installed/started at 20-May-2023 with an Ecowitt GW2000 - raincounter set = 0
- legacy data from a NetAtmo station existing for the year 2023 (before 20-May-2023)
- created monthly log files (Jan23log.txt thru Mai2023log.txt (locale = DE, hence Mai instead of May) from the NetAtmo export files (semi-)
manually (using a self-created Excel monthly log file template with 8.928 5-minute interval entries; 12 x 24 x 31 = 8.928 - saved as CSV creates the/a CMX readable MonYYlog.txt file))
No rain from 20-May - 31-May-2023 (log file entries created by CMX added to Mai23log.txt (respectively 1-19 May))
Rainfall values for Jan, Feb, Mar, Apr and 1-19 May are only daily "rainfall so far" entries in the 5-minute records - no raincounter from NetAtmo export

questions:
is there any tool which will not only create the missing dayfile.txt entries (that's CreateMissing I figure) but will also
a) create the raincounter entries in the Mon23log.txt files for each record (Mon = Jan, Feb, ....)
and
b) update the raincounter values for the already existing records (20-May thru actual day)

if so, how to proeed ?

or do I have to do that manually by creating/updating the raincounter in the log files for every single record ?
if so, I think I know how to proceed... :roll:
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: how to adjust raincounter when importing legacy data

Post by mcrossley »

Sorry for the delayed reply.

CMX just uses and incrementing rain counter (though it can cope with it being reset, and does anticipate the counter being reset on some stations that only supply a year-to-date counter).

There are no tools that I know of that will do what you want for you. :(
Post Reply