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

Rainfall So Far being carried forward to next day.

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

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: Rainfall So Far being carried forward to next day.

Post by mcrossley »

Shutting down MX before hibernating would be a better solution, no rolling back of data would be required then.

But you have exposed a bug in the Davis VP2 & WLL (which was largely copied from the VP2) code that seems to have been there for a long time - it's in the original code released by Steve back in 2017. During day reset whilst catching-up, the monthly log file entry for the rollover hour is created before the day is reset. It should be done after the day reset - as it is when live running.

I'll get that fixed, and investigate your other issues and see if they are related to the same bug...
Nin3DSFan
Posts: 30
Joined: Sat 10 Oct 2015 6:14 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Oxted, Surrey

Re: Rainfall So Far being carried forward to next day.

Post by Nin3DSFan »

Is the Vantage Pro 2 bug also in the Vantage Vue (which is what I have)?
Also, I assume the bug in question is why the rainfall data at 23:59 does not reset at 0:00?
According to the "monthly logs" or "standard log files" as they are now called, the first time the rainfall data did not reset to 0.00 at midnight, with the total (yearly) rainfall counter suddenly seeing that as the rainfall for the next day, and suddenly increasing the counter by that amount, was at the rollover between June 17, and June 18, 2021. Specifically, at the beginning of June 17, the total rainfall counter was 422.6, we then had 19.2 mm of rain, which therefore means the total counter was 441.8 by 23:59, but at the rollover at 0:00, the daily rain was still 19.2, which caused the total to jump again from 441.8 to 461.0. After which, we had another 14.0 mm up to 13:33, which was when CMX was resumed at that point, where the total counter was suddenly readjusted back by 19.2 to 455.8, where it should be. It's just strange how it suddenly started doing that at that point. Unfortunately, while the total rain counter only temporarily is wrong, and then corrects itself somehow, the "total monthly counter" will most likely be wrong for June 2021 onwards.
According to the NOAA year report, the total rainfall for each month since June 2021 was:
June - 89.4 (should be 91.2, a difference of 1.8)
July - 71.6 (should be 77.2, a difference of 5.6)
August - 47.4 (should be 48.4, a difference of 1.0)
September - 28.0 (should be 28.4, a difference of 0.4)
October - 88.2 (should be 92.2, a difference of 4.0)
Post Reply