Page 1 of 1

Rain this year value wrong ** solved **

Posted: Thu 11 Mar 2021 10:10 pm
by Gyvate
The rain this year value shown at the "Now" page is 310.4 mm - which is 23.4 mm more than it really was.
The rain counter (Edit) and the entries in the day file say 287.0 (which is the correct value).
At the console (WH2650/GW1000) CumulusMX reads from the rain totals are 287.0.
Where does the program get the additional 23.4 mm from ?
The only observation in this context is that the switch over of the rain year happened on 01.01.2021 01:00 CET (=AM in 12h notation).
There it had collected another 0.3 mm in addition to the correct 757.0 mm 31.12.2020 23:59 - and switched the counter to 0.0 mm
If there were a difference of 0.3 mm I could understand, but where does the 23.4 mm more come from.
Paging through the Jan21log.txt, Feb21log.txt and Mar21log.,txt files shows the correct summary value at the end of the month
(in the Mar21 file 11-Mar).
Any advice appreciated.

Re: Rain this year value wrong

Posted: Fri 12 Mar 2021 9:38 am
by mcrossley
Cumulus gets the total rainfall this month and this year by parsing the dayfile.txt file at start-up.

Do you have a rouge entry in there?

Re: Rain this year value wrong

Posted: Fri 12 Mar 2021 1:08 pm
by Dennisdg
Did it rain on the day your posted the query? I don't beleive the Year Total will include the current day's rain until after Log Rollover.
Just a thought.

Re: Rain this year value wrong

Posted: Fri 12 Mar 2021 3:45 pm
by Gyvate
Issue solved - I found double entries for a couple of days in the dayfile - and that put me on the trace.
There was a second instance running (seems that tagging the option "stop second instance" didn't work - it was always tagged ever since I installed CumulusMX and there were several server restarts in between though).

Now I will check the running processes regularly :geek: .

After deleting the double entries - and some rain record which was simply wrong, no idea why it recorded rain when there was no rain (and my MB didn't record any rain either) - and another restart - the numbers are correct now.
@Dennisdg - it was raining, but now that much ;)

Re: Rain this year value wrong ** solved **

Posted: Fri 12 Mar 2021 4:28 pm
by Dennisdg
Glad you sorted it.