Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.6.5 (build 3081) - 28 May 2020 (please see important announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

See the Wiki to download the software or click on the Downloads link in the Forum Banner.

Rainfall error

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
HansR
Posts: 974
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Rainfall error

Post by HansR »

On the 5th of January at 9h00 - 9h02 something strange happens with the rainfall counters in the monthly logfile while no rain fell at all:

Code: Select all

05-01-20;09:00;5,0;96;4,4;1,3;4,8;263;0,0;0,0;1032,82;6,6;19,7;50;0,0;5,0;5,0;0,0;0;0,08;0,25;3,5;1;0,0;263;0,0;0,0
05-01-20;09:01;5,0;96;4,4;1,4;3,2;265;0,0;0,0;1032,78;0,0;19,7;50;3,2;5,0;5,0;0,0;0;0,00;0,00;3,5;1;0,0;270;0,0;0,0
05-01-20;09:02;5,0;96;4,4;0,4;3,2;264;0,0;6,6;1032,82;6,6;19,7;50;1,6;5,0;5,0;0,0;0;0,25;0,25;3,7;1;0,0;263;0,0;6,6
05-01-20;09:03;5,0;96;4,4;0,2;3,2;264;0,0;6,6;1032,88;6,6;19,8;50;0,0;5,0;5,0;0,0;0;0,25;0,25;3,7;2;0,0;263;0,0;6,6
05-01-20;09:04;5,0;96;4,4;0,1;3,2;264;0,0;6,6;1032,88;6,6;19,8;50;3,2;5,0;5,0;0,0;0;0,25;0,25;3,7;2;0,0;263;0,0;6,6
As a consequence may daily value was set to 6.6 and thus my record etc...
At 9h00 I do a shutdown for a daily backup of the whole CumulusMX directory tree to my NAS.
The MXdiags shows something strange while restarting.

Attached you find the monthly logfile and the MXdiags of the restart.
Let me know if you need more info.

I will restart with the backup prior to the problem so hopefully the problem will not reappear.
I did the restart and the rain does not appear so from my data point of view the problem is gone, from a code point of view this seems to be an error somewhere.
You do not have the required permissions to view the files attached to this post.
https://meteo-wagenborgen.nl / Cumulus 3.6.5 (build: 3081)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

User avatar
mcrossley
Posts: 6480
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rainfall error

Post by mcrossley »

Thanks for the report, I think I see the issue, but that bit of code at startup is convoluted...

User avatar
HansR
Posts: 974
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: Rainfall error

Post by HansR »

Guess you mean this sequence:

Code: Select all

			GetRainCounter();
			GetRainFallTotals();
:?: :?
https://meteo-wagenborgen.nl / Cumulus 3.6.5 (build: 3081)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

User avatar
mcrossley
Posts: 6480
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rainfall error

Post by mcrossley »

Yeah, it's what those functions do with the various counters though.

Could you email me the backup of the ini files that produced the error?

Post Reply