Page 1 of 1

Dryspell incorrect?

Posted: Tue 10 Jan 2012 3:37 am
by 41south
Just happened to look at my rain stats and saw this;

From the Today page:
Rainfall Rate Max 3.6 mm/hr at 14:31
High Hourly Rainfall 0.9 mm at 14:45
Current Wet Spell 0 days
Current Dry Spell 1 days

And from the Now page:
Rainfall rate 0.0 mm/hr Rainfall Today 1.2 mm
Rainfall Last Hour 0.3 mm Rainfall This Month 125.4 mm
Rainfall since midnight 1.2 mm Rainfall This Year 125.4 mm
Rainfall last 24h 1.2 mm Last rainfall 2012-01-10 16:04

My met day is 0900-0900, how is the current dry spell 1 day?

Cheers
Colin.

Re: Dryspell incorrect?

Posted: Tue 10 Jan 2012 3:49 am
by beteljuice
I think it's because 'Today' hasn't ended yet - did it rain 'Yesterday' ?

Re: Dryspell incorrect?

Posted: Tue 10 Jan 2012 6:17 am
by MickinMoulden
I use Javascript to over-ride this, and have it include "excluding today", which is what is happening in your case, and "includes today" when it registers rain. It calculates it when it creates the file at the end of the day ie.9am, and doesn't work off the data at hand.

Re: Dryspell incorrect?

Posted: Tue 10 Jan 2012 8:59 am
by steve
beteljuice wrote:I think it's because 'Today' hasn't ended yet - did it rain 'Yesterday' ?
I suspect that's the case, based on the information given.

While it's possible to say that today is a 'wet day' as soon as it rains, it's not possible to say that it's a 'dry day' until it's ended, so for consistency it calculates both wet and dry days at the end of the day.