Page 1 of 1

Consecutive Rain Days

Posted: Wed 01 Feb 2012 1:19 am
by captzero
Hi All,
This morning, I noticed the <#ConsecutiveRainDays> webtag is showing 0 days of consecutive rain. I do have the threshold set at 0.2mm however I've had 10 consecutive days (excluding today) of rainfall above 0.2mm . Yesterday was showing 9 days so I would expect that today the webtag would return a figure of 10. Not sure if the monthly rollover from Jan to Feb had any effect. Has anyone else had this happen?

Note: I have some js calculating consecutive wet/dry periods that include today, and as I have had rain above 0.2mm today my page is displaying 1 day but the raw webtag value is returning '0'.

Cheers

Re: Consecutive Rain Days

Posted: Wed 01 Feb 2012 8:42 am
by steve
I don't think it's anything to do with the new month, the code that increments the counter just runs every day at 'rollover'. If you zip up the diags folder and attach it, along with your today.ini, dayfile.txt and January log file, I'll see if I can spot anything.

Re: Consecutive Rain Days

Posted: Wed 01 Feb 2012 8:44 am
by mcrossley
You only had 0.3mm yesterday, and it from your page source it seems that ConsecutiveDryDays is set to 1, is the threshold definitley set correctly?

Edit: Ah! Steve posted before me, let him have a look at the diags...

Re: Consecutive Rain Days

Posted: Wed 01 Feb 2012 9:02 am
by steve
mcrossley wrote:is the threshold definitley set correctly?
It's a good point, though. Seeing the RainDayThreshold line from Cumulus.ini would also be useful.

Re: Consecutive Rain Days

Posted: Wed 01 Feb 2012 9:51 am
by captzero
Thanks Steve.

Files attached

Re: Consecutive Rain Days

Posted: Wed 01 Feb 2012 9:57 am
by steve
You have your rain day threshold set to 0.3:

RainDayThreshold=0.300000011920929

and you only had 0.25 mm rain yesterday:

Yesterday=0.255976557731628

so it wasn't a rain day.

Re: Consecutive Rain Days

Posted: Wed 01 Feb 2012 10:05 am
by captzero
Bugger... Thanks Steve. Sorry to waste your time. I should have see that.