Page 1 of 1

Rainfall error

Posted: Sun 05 Jan 2020 10:08 am
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.

Re: Rainfall error

Posted: Mon 06 Jan 2020 4:08 pm
by mcrossley
Thanks for the report, I think I see the issue, but that bit of code at startup is convoluted...

Re: Rainfall error

Posted: Mon 06 Jan 2020 6:00 pm
by HansR
Guess you mean this sequence:

Code: Select all

			GetRainCounter();
			GetRainFallTotals();
:?: :?

Re: Rainfall error

Posted: Mon 06 Jan 2020 6:16 pm
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?