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 after shut down period.

Discussion specific to Davis weather stations
Post Reply
XBower
Posts: 55
Joined: Fri 09 Aug 2013 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 64b
Location: Gothenburg, SE

Rainfall after shut down period.

Post by XBower »

Hi all.

Today at around 16:00 (after today's rainfall), when I fired up Cumulus after it's been shut down since last night, I noticed that the rain figures weren't updated.
Rate and Last Hour are 0 ,correct.
Today is also 0, not correct, should be 9.4.
Last 24 hours 11.6, could be correct.
Yesterday is 6.2, correct.
This month is 16.6, not correct.
This year is 357.8, not correct.

Does Cumulus not read Today's rain from the logger when fired up? Or when will it?
Or have I set it up somehow wrong?

I'm using 1.9.3 b1059

Regards
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
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: Rainfall after shut down period.

Post by steve »

Please zip up the diags folder and attach it.
Steve
XBower
Posts: 55
Joined: Fri 09 Aug 2013 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 64b
Location: Gothenburg, SE

Re: Rainfall after shut down period.

Post by XBower »

steve wrote:Please zip up the diags folder and attach it.
Like a cobra...
Sorry, forgot that...
Here goes.
You do not have the required permissions to view the files attached to this post.
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
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: Rainfall after shut down period.

Post by steve »

Cumulus uses the annual rain total to maintain all of its rain data, except during logger download when the only figure available is the amount of rain that fell in that logger interval, so Cumulus updates its counter using that figure. There is a bug in the Davis DLL (or in the console firmware, I forget which) which means that the latest logger entry is never sent. To guard against the counter going out of step as a result, Cumulus reads the annual counter at the end of the logger download. It appears that sometimes with your station, this read fails:

2013-09-16 15:51:10.181 : VP2: Error reading current rain total from station

What Cumulus does then is to start the counter for the the day from that point. I have no idea why I did this, it doesn't seem very sensible. What it should do as a fallback is just to carry on with the counter it calculated for itself. The next time it reads the data it should get the counter anyway. I'll change this in the next build of 1.9.4.

You can correct today's figure using the 'today's rain' editor on the Edit menu. Restarting Cumulus will then correct the monthly and annual totals (assuming all of the daily totals in dayfile.txt are correct). Unfortunately, restarting might cause the rain counter to be reset again! I'll try to get the fix uploaded this evening.
Steve
XBower
Posts: 55
Joined: Fri 09 Aug 2013 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 64b
Location: Gothenburg, SE

Re: Rainfall after shut down period.

Post by XBower »

steve wrote:Cumulus uses the annual rain total to maintain all of its rain data, except during logger download when the only figure available is the amount of rain that fell in that logger interval, so Cumulus updates its counter using that figure. There is a bug in the Davis DLL (or in the console firmware, I forget which) which means that the latest logger entry is never sent. To guard against the counter going out of step as a result, Cumulus reads the annual counter at the end of the logger download. It appears that sometimes with your station, this read fails:

2013-09-16 15:51:10.181 : VP2: Error reading current rain total from station

What Cumulus does then is to start the counter for the the day from that point. I have no idea why I did this, it doesn't seem very sensible. What it should do as a fallback is just to carry on with the counter it calculated for itself. The next time it reads the data it should get the counter anyway. I'll change this in the next build of 1.9.4.

You can correct today's figure using the 'today's rain' editor on the Edit menu. Restarting Cumulus will then correct the monthly and annual totals (assuming all of the daily totals in dayfile.txt are correct). Unfortunately, restarting might cause the rain counter to be reset again! I'll try to get the fix uploaded this evening.

Hi, thanks.

Would something like this be avoided by maybe running Cumulus 24/7 or perhaps downloading on a "not rainy day"?
Or install 1.9.4?
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
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: Rainfall after shut down period.

Post by steve »

XBower wrote:Would something like this be avoided by maybe running Cumulus 24/7 or perhaps downloading on a "not rainy day"?
Yes, either of those would avoid the chance of this occurring.
Or install 1.9.4?
Yes, with the fix I've just uploaded.
Steve
Post Reply