Page 1 of 1

Rainfall resetting before midnight

Posted: Sun 12 Sep 2021 3:59 am
by BrunswickWeather
Today I notice the rainfall for this month was 8.4mm less than it should be.
Every few days I close down Cumulus MX and run Cumulus1.
There was a difference in monthly rainfall of 8.4mm

It appears that the daily rainfall was reset before midnight (at 11:57) on the 4th but the rain since midnight column was not reset.
Cumulus MX does not run 24 hours a day. It would have been closed at this time. I notice the times are 23:50, 23:55, 23:57, 00:02, 00.07
I do not have the Diag file for this time as it is 7 days ago.
Fine Offset WS 3085
Sep21log.txt extracts
Cumulus MX
04-09-21,23:40,9.8,87,7.7,5.6,9.7,186,3.6,8.1,1020.3,59.1,22.2,48,7.2,9.3,9.8,0.0,0,0.00,0.00,8.2,0,3.7,90,0.0,8.1,9.3,9.8
04-09-21,23:45,9.8,88,7.9,5.5,8.6,191,0.0,8.1,1020.4,59.1,22.1,48,6.1,9.4,9.8,0.0,0,0.00,0.00,8.2,0,3.7,90,0.0,8.1,9.4,9.8
04-09-21,23:50,9.8,89,8.1,5.5,9.7,141,3.6,8.4,1020.1,59.4,22.1,48,6.1,9.4,9.8,0.0,0,0.00,0.00,8.3,0,3.7,225,0.0,8.4,9.4,9.8
04-09-21,23:55,9.9,90,8.3,5.3,9.7,165,0.0,8.4,1020.3,59.4,22.0,48,8.6,9.5,9.9,0.0,0,0.00,0.00,8.5,0,3.7,135,0.0,8.4,9.5,9.9
04-09-21,23:57,9.9,90,8.3,5.3,9.7,173,0.0,0.0,1020.3,59.4,22.0,48,8.6,9.5,9.9,0.0,0,0.00,0.00,8.5,0,3.7,135,0.0,8.4,9.5,9.9
05-09-21,00:02,10.0,90,8.4,5.8,9.7,149,0.0,0.0,1020.1,59.4,22.0,48,9.7,10.0,10.0,0.0,0,0.00,0.00,8.5,0,0.0,225,0.0,0.0,9.5,10.6
05-09-21,00:07,10.0,90,8.4,6.1,9.7,225,0.0,0.0,1020.4,59.4,21.9,49,6.1,10.0,10.0,0.0,0,0.00,0.00,8.5,0,0.0,225,0.0,0.0,9.4,10.6
05-09-21,00:12,10.0,90,8.4,5.3,9.7,158,0.0,0.0,1020.3,59.4,21.9,49,6.1,10.0,10.0,0.0,0,0.00,0.00,8.6,0,0.0,90,0.0,0.0,9.7,10.6
05-09-21,00:17,10.0,90,8.4,4.1,6.1,70,0.0,0.0,1020.1,59.4,21.9,49,5.0,10.0,10.0,0.0,0,0.00,0.00,8.8,0,0.0,45,0.0,0.0,10.0,10.6
05-09-21,00:22,10.0,90,8.4,3.2,6.1,96,3.6,0.3,1020.2,59.7,21.9,49,6.1,10.0,10.0,0.0,0,0.00,0.00,9.0,0,0.0,135,0.0,0.3,10.0,10.6
05-09-21,00:27,10.0,90,8.4,4.1,9.7,163,0.0,0.3,1020.2,59.7,21.9,49,9.7,10.0,10.0,0.0,0,0.00,0.00,8.8,0,0.0,180,0.0,0.3,10.0,10.6
05-09-21,00:32,10.0,89,8.3,4.1,9.7,197,0.0,0.3,1020.2,59.7,21.9,49,6.1,10.0,10.0,0.0,0,0.00,0.00,8.8,0,0.0,225,0.0,0.3,10.0,10.5

Cumulus 1
04-09-21,23:46,9.8,88,7.9,6.1,8.6,187,0.0,8.1,1014.5,59.1,22.1,48,8.6,9.2,9.8,0,0,0.00,0.00,8.1,0,4.1,135,0.0,8.1
04-09-21,23:51,9.8,89,8.1,4.9,8.6,226,3.6,8.4,1014.4,59.4,22.1,48,3.6,9.6,9.8,0,0,0.00,0.00,8.4,0,4.1,270,0.0,8.4
04-09-21,23:56,9.9,90,8.3,4.6,8.6,172,0.0,8.4,1014.3,59.4,22.0,48,8.6,9.9,9.9,0,0,0.00,0.00,8.6,0,4.1,135,0.0,8.4
05-09-21,00:01,10.0,90,8.4,5.3,9.7,174,0.0,0.0,1014.1,59.4,22.0,48,9.7,9.7,10.0,0,0,0.00,0.00,8.6,0,0.0,225,0.0,0.0
05-09-21,00:06,10.0,90,8.4,6.1,9.7,207,0.0,0.0,1014.4,59.4,21.9,49,6.1,9.4,10.0,0,0,0.00,0.00,8.5,0,0.0,225,0.0,0.0
05-09-21,00:11,10.0,90,8.4,5.3,9.7,176,0.0,0.0,1014.3,59.4,21.9,49,6.1,9.7,10.0,0,0,0.00,0.00,8.6,0,0.0,90,0.0,0.0
05-09-21,00:16,10.0,90,8.4,4.1,6.1,192,0.0,0.0,1014.1,59.4,21.9,49,5.0,10.0,10.0,0,0,0.00,0.00,8.8,0,0.0,45,0.0,0.0
05-09-21,00:21,10.0,90,8.4,3.2,6.1,117,3.6,0.3,1014.2,59.7,21.9,49,6.1,10.0,10.0,0,0,0.00,0.00,9.0,0,0.0,135,0.0,0.3
05-09-21,00:26,10.0,90,8.4,4.1,9.7,126,0.0,0.3,1014.2,59.7,21.9,49,9.7,10.0,10.0,0,0,0.00,0.00,8.8,0,0.0,180,0.0,0.3



For the 4th the dayfile shows zero rainfall
03-09-21,36.7,225,16:30,10.9,21:30,25.6,10:00,1010.6,02:25,1017.3,20:56,14.4,16:21,30.3,17.9,141.8,12.6,16:40,40,09:55,100,18:14,0.00,1.9,25.6,10:00,24.4,10:00,10.8,17:19,7.5,17:02,10.9,21:30,14.7,14:34,8.9,11:05,301,2.3,1.9,487,10:34,12.0,10:34,25.1,10:00,10.9,21:30,27.3,10:00,350.3
04-09-21,30.6,188,22:45,8.6,21:50,16.6,13:00,1015.8,00:19,1020.5,19:55,14.4,08:14,0.0,12.2,140.1,12.1,22:50,47,14:00,100,00:04,0.00,3.7,16.6,13:00,14.1,08:04,6.2,21:50,2.4,23:50,7.6,21:50,13.2,08:04,4.6,14:15,179,6.1,0.0,574,13:00,13.0,12:00,15.4,13:00,7.6,21:50,16.3,12:20,350.3
05-09-21,20.9,180,23:53,7.5,07:07,17.4,14:22,1019.6,03:22,1025.0,23:51,10.8,01:47,9.6,11.3,119.1,11.5,11:42,48,13:26,95,03:47,0.00,3.2,17.4,14:22,15.4,14:23,5.8,06:52,4.2,02:27,7.5,06:22,8.8,04:07,3.4,14:30,203,7.0,0.0,603,11:32,14.0,12:42,16.5,14:23,7.5,06:22,17.6,14:22,350.3

Re: Rainfall resetting before midnight

Posted: Mon 13 Sep 2021 1:59 am
by BrunswickWeather
I found a backup from August and then run Cumulus MX on it.

It appears that from the times in the files I may have closed Cumulus MX just before midnight.
This is from the updated backup version
04-09-21,23:39,9.9,83,7.1,7.3,13.3,90,3.6,7.8,1020.4,58.8,22.3,48,11.2,9.0,9.9,0.0,0,0.00,0.00,7.8,0,4.3,90,0.0,7.8,9.0,9.9
04-09-21,23:44,9.9,85,7.5,5.6,11.2,90,0.0,7.8,1020.2,58.8,22.2,48,7.2,9.5,9.9,0.0,0,0.00,0.00,8.2,0,4.3,90,0.0,7.8,9.5,9.9
04-09-21,23:49,9.8,86,7.6,5.6,11.2,270,0.0,7.8,1020.4,58.8,22.2,48,8.6,9.3,9.8,0.0,0,0.00,0.00,8.1,0,4.3,270,0.0,7.8,9.3,9.8
04-09-21,23:54,9.8,87,7.7,5.6,8.6,247,3.6,8.1,1020.3,59.1,22.1,48,8.6,9.3,9.8,0.0,0,0.00,0.00,8.2,0,4.3,225,0.0,8.1,9.3,9.8
04-09-21,23:59,9.8,88,7.9,6.1,8.6,180,0.0,8.1,1020.5,59.1,22.1,48,8.6,9.2,9.8,0.0,0,0.00,0.00,8.1,0,4.3,135,0.0,8.1,9.2,9.8
05-09-21,00:04,9.8,89,8.1,4.9,8.6,158,3.6,0.3,1020.4,59.4,22.1,48,3.6,9.6,9.8,0.0,0,0.00,0.00,8.4,0,0.0,270,0.0,0.3,9.6,9.8
05-09-21,00:09,9.9,90,8.3,4.6,8.6,158,0.0,0.3,1020.3,59.4,22.0,48,8.6,9.9,9.9,0.0,0,0.00,0.00,8.6,0,0.0,135,0.0,0.3,9.9,9.9
05-09-21,00:14,10.0,90,8.4,5.3,9.7,183,0.0,0.3,1020.1,59.4,22.0,48,9.7,10.0,10.0,0.0,0,0.00,0.00,8.6,0,0.0,225,0.0,0.3,9.7,10.6
05-09-21,00:19,10.0,90,8.4,6.1,9.7,225,0.0,0.3,1020.4,59.4,21.9,49,6.1,10.0,10.0,0.0,0,0.00,0.00,8.5,0,0.0,225,0.0,0.3,9.4,10.6
05-09-21,00:24,10.0,90,8.4,5.3,9.7,158,0.0,0.3,1020.3,59.4,21.9,49,6.1,10.0,10.0,0.0,0,0.00,0.00,8.6,0,0.0,90,0.0,0.3,9.7,10.6
05-09-21,00:29,10.0,90,8.4,4.1,6.1,70,0.0,0.3,1020.1,59.4,21.9,49,5.0,10.0,10.0,0.0,0,0.00,0.00,8.8,0,0.0,45,0.0,0.3,10.0,10.6
05-09-21,00:34,10.0,90,8.4,3.2,6.1,96,3.6,0.6,1020.2,59.7,21.9,49,6.1,10.0,10.0,0.0,0,0.00,0.00,9.0,0,0.0,135,0.0,0.6,10.0,10.6
It appears when the program is running the times recorded are at 5 min intervals and recorded at 05, 10, 15, 20 etc but when the program is restart and the data from the history in the weather station it is e.g. 04, 09, 14, 19 etc or in my first post 02, 07, 12 etc.
So I must have turned the program off after the 23.55 was recorded (in first post)
Also the new rainfall ( in the first post) of 0.3 in the first 4 minutes after the midnight was not shown until 22 minutes after the hour
but in Easyweather plus program download of 0.3 is at 12:11 am
Confused? I am!
Enclosed the latest diags but does not show error.
My solution, don't stop the program near midnight.

Re: Rainfall resetting before midnight

Posted: Mon 13 Sep 2021 3:32 pm
by mcrossley
Unfortunately the FO log memory does not contain date time stamps, just a time in whole minutes ago that the entry was created. The way Cumulus currently calculates the date time stamp that could perhaps be improved. In the log file you attached, the last log entry was read at 10:30:30 and the entry had an "age" of 1 minute, which CMX deducted to get a "log time" of 10:29:30.


I can see that if CMX is stopped around the rollover time this could cause issues.

Perhaps CMX could do something a bit more intelligent when calculating the log time for the record age - I'll have a look