Steve I was wondering how Cumulus calculated the Longest Wet Period as I am puzzled as to why http://www.dmjsystems.co.uk/weather/thisyear.php is showing 22 days to the 4th January when http://www.dmjsystems.co.uk/weather/top10s.php (bottom of the list for Consecutive Wet Days) shows this year I have had a 26 day period up to the 7th November which beats it.
This is confirmed by the 1 month Daily Rain graph here http://www.dmjsystems.co.uk/weather/historicgraphs.php which shows rain of 0.01 and above from 13th October to 7th November.
I realise that both the Graphs and the Top 10 totals are taken from my MySQL database maintained from the Dayfile.txt file but does Cumulus do it some other way?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Longest Wet Period
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Longest Wet Period
It adjusts the current wet/dry spell figures at the end of each day according to whether the amount of rain that day was greater than or equal to the 'rain day threshold'. It then checks whether any monthly/yearly/alltime highs have been broken by the new figures and if so, adjusts them.
The default value for the rain day threshold when inches are in use is 0.01". Have you perhaps changed the threshold? Your current wet period is 6 days, according to your 'today' page.
The diags log for the period Oct 31/Nov 1 should show why it thought Oct 31 didn't count as a rain day, if you still have that file.
The default value for the rain day threshold when inches are in use is 0.01". Have you perhaps changed the threshold? Your current wet period is 6 days, according to your 'today' page.
The diags log for the period Oct 31/Nov 1 should show why it thought Oct 31 didn't count as a rain day, if you still have that file.
Steve
-
water01
- Posts: 3670
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10/11 64bit Synology NAS
- Location: Burnham-on-Sea
- Contact:
Re: Longest Wet Period
To be honest I don't even know where the "rain day threshold" is let alone change it. Where do I check just in case I have!!
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Longest Wet Period
In cumulus.ini, "RainDayThreshold" in the [Station] section. The default value is -1, which means use 0.2mm or 0.01in.
Steve
-
water01
- Posts: 3670
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10/11 64bit Synology NAS
- Location: Burnham-on-Sea
- Contact:
Re: Longest Wet Period
Here is the diag file containing the end of October switch over.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Longest Wet Period
It got as far as 20 days up to the 1st:
02/11/2013 00:00:00.768 : === Day reset for 01/11/2013
02/11/2013 00:00:00.792 : Raintotal = 16.901575088501 Raindaystart = 16.8188972473145
02/11/2013 00:00:00.792 : Rainyesterday (calibrated) set to 0.0826778411865234
02/11/2013 00:00:00.792 : RainDayThreshold = -1
02/11/2013 00:00:00.792 : rdt1000=10 ry1000=83
02/11/2013 00:00:00.792 : Yesterday was a rain day
02/11/2013 00:00:00.792 : Consecutive rain days = 20
So it did count the 31st and the 1st as rain days, but then your station disappeared:
02/11/2013 15:20:35.694 : 15:20:35 EWUSB: HidControl Device Unplug
02/11/2013 15:20:35.694 : VID = 1941 PID = 8021
02/11/2013 15:20:35.694 : Error - station unplugged - check connections
02/11/2013 15:20:35.694 : EWUSB: HidControl Device Removal
02/11/2013 15:20:35.694 : VID = 1941 PID = 8021
02/11/2013 15:20:35.694 : Error - station removed - check connections
02/11/2013 15:20:36.050 : EWUSB: HidControl Device Removal
02/11/2013 15:20:36.050 : VID = 1941 PID = 8021
02/11/2013 15:20:36.050 : Error - station removed - check connections
02/11/2013 15:20:36.132 : EWUSB: HidControl Device Removal
02/11/2013 15:20:36.133 : VID = 1941 PID = 8021
02/11/2013 15:20:36.133 : Error - station removed - check connections
02/11/2013 15:20:36.133 : 15:20:36 EWUSB: HidControl Arrival
02/11/2013 15:20:36.133 : VID = 1941 PID = 8021
02/11/2013 15:20:36.211 : EWUSB: HidControl Device Removal
02/11/2013 15:20:36.211 : VID = 1941 PID = 8021
02/11/2013 15:20:36.211 : Error - station removed - check connections
02/11/2013 15:20:36.283 : EWUSB: HidControl Device Removal
02/11/2013 15:20:36.283 : VID = 1941 PID = 8021
02/11/2013 15:20:36.283 : Error - station removed - check connections
02/11/2013 15:20:54.047 : Closing Please Wait form
02/11/2013 15:20:54.047 : 15:20:54 Station not responding
And then Cumulus closed at 17:36, with the station still disconnected, so it appears that the count got reset after that, and is presumably related to the station misbehaving. That should be in a later diags file.
But whatever the cause, it's not because of the 'rain day threshold' setting, and you can correct the wet spell count by stopping Cumulus and editing today.ini.
02/11/2013 00:00:00.768 : === Day reset for 01/11/2013
02/11/2013 00:00:00.792 : Raintotal = 16.901575088501 Raindaystart = 16.8188972473145
02/11/2013 00:00:00.792 : Rainyesterday (calibrated) set to 0.0826778411865234
02/11/2013 00:00:00.792 : RainDayThreshold = -1
02/11/2013 00:00:00.792 : rdt1000=10 ry1000=83
02/11/2013 00:00:00.792 : Yesterday was a rain day
02/11/2013 00:00:00.792 : Consecutive rain days = 20
So it did count the 31st and the 1st as rain days, but then your station disappeared:
02/11/2013 15:20:35.694 : 15:20:35 EWUSB: HidControl Device Unplug
02/11/2013 15:20:35.694 : VID = 1941 PID = 8021
02/11/2013 15:20:35.694 : Error - station unplugged - check connections
02/11/2013 15:20:35.694 : EWUSB: HidControl Device Removal
02/11/2013 15:20:35.694 : VID = 1941 PID = 8021
02/11/2013 15:20:35.694 : Error - station removed - check connections
02/11/2013 15:20:36.050 : EWUSB: HidControl Device Removal
02/11/2013 15:20:36.050 : VID = 1941 PID = 8021
02/11/2013 15:20:36.050 : Error - station removed - check connections
02/11/2013 15:20:36.132 : EWUSB: HidControl Device Removal
02/11/2013 15:20:36.133 : VID = 1941 PID = 8021
02/11/2013 15:20:36.133 : Error - station removed - check connections
02/11/2013 15:20:36.133 : 15:20:36 EWUSB: HidControl Arrival
02/11/2013 15:20:36.133 : VID = 1941 PID = 8021
02/11/2013 15:20:36.211 : EWUSB: HidControl Device Removal
02/11/2013 15:20:36.211 : VID = 1941 PID = 8021
02/11/2013 15:20:36.211 : Error - station removed - check connections
02/11/2013 15:20:36.283 : EWUSB: HidControl Device Removal
02/11/2013 15:20:36.283 : VID = 1941 PID = 8021
02/11/2013 15:20:36.283 : Error - station removed - check connections
02/11/2013 15:20:54.047 : Closing Please Wait form
02/11/2013 15:20:54.047 : 15:20:54 Station not responding
And then Cumulus closed at 17:36, with the station still disconnected, so it appears that the count got reset after that, and is presumably related to the station misbehaving. That should be in a later diags file.
But whatever the cause, it's not because of the 'rain day threshold' setting, and you can correct the wet spell count by stopping Cumulus and editing today.ini.
Steve
-
water01
- Posts: 3670
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10/11 64bit Synology NAS
- Location: Burnham-on-Sea
- Contact:
Re: Longest Wet Period
Thanks Steve. Edited today.ini, will this eventually ripple through to month and year etc. or do I have to edit those as well?
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Longest Wet Period
As it's rained today, the count will be incremented at midnight and everything else will then automatically get updated.
Steve