Page 1 of 1

Create Missing for 24 hour rain data into dayfile

Posted: Mon 22 Aug 2022 6:29 am
by BrunswickWeather
Used CreateMissing to update dayfile.txt
Errors occurred in the 24-hour rain fields
Examples in the attached extract from dayfile.txt for August 2022 plus Aug22log.txt
Day 5 and Day 6 have the same rain of 6.9 but one at 17:25 and one at 00:00
Day 11 and Day 12 have the same rain of 6.3 but one at 14:20 and one at 00:00
Day 13 and Day 14 have the same rain of 7.5 but one at 16:00 and one at 00:00
Day 18 and Day 19 have the same rain of 13.2 but one at 23:30 and one at 00:00

Error file from CreateMissing v.1.3.0
"2022-08-22 15:35:30.219 Created new dayfile.txt, the old is saved as dayfile.txt.sav
2022-08-22 15:35:30.219 Number of records added : 0
2022-08-22 15:35:30.219 Number of records updated: 0
2022-08-22 15:35:30.219 Number of records were OK: 4562
2022-08-22 15:35:30.219
Processing complete."

Re: Create Missing for 24 hour rain data into dayfile

Posted: Mon 22 Aug 2022 1:52 pm
by mcrossley
That looks correct to me.

The value recorded in the dayfile is the HIGHEST 24 hour rain value recorded that day. If there was lots of rain the previous day, and no rain today, then todays highest value would be at the start or day (00:00), when it would record all the previous days rainfall.

When using the values, CMX will always use the first highest value, so the same value at 00:00 the following day will be ignored - unless that day is the first day in the period being queried!