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

Today / Yesterday Time Hourly Rain Webtag

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
captzero
Posts: 363
Joined: Wed 03 Mar 2010 10:20 am
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows 10
Location: Brisbane, Australia
Contact:

Today / Yesterday Time Hourly Rain Webtag

Post by captzero »

I'm using <#ThourlyrainTH> to display the time for todays highest hourly rain and although there hasnt been any rain recorded (sunny and fine all day) it returns a value of 16:49. Yesterdays webtag returns 18:04. If no rain has been recorded shouldn't the values be 00:00 or am I reading / using them wrong.

Thanks
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Today / Yesterday Time Hourly Rain Webtag

Post by daj »

I've checked my tags and they are correct. ThourlyrainTH is showing 00:00 today and 17:30 for yesterday which is correct based on other data

What version/build of Cumulus are you running?
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Today / Yesterday Time Hourly Rain Webtag

Post by steve »

Yes, they should show 00:00 if no rain at all has been recorded. It might be down to rounding errors, particularly if you stopped and started Cumulus at all. Does Cumulus itself show the same values in View | Highs and lows | Today (and Yesterday)? If you zip up the diags folder and attach it, I'll see if I can see what's going on.
Steve
captzero
Posts: 363
Joined: Wed 03 Mar 2010 10:20 am
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows 10
Location: Brisbane, Australia
Contact:

Re: Today / Yesterday Time Hourly Rain Webtag

Post by captzero »

Thanks David / Steve.

I did shutdown and restart the computer for a windows update this afternoon. Also had a 'failed to initialize station' error after the update and had to reconfigure the station settings in Cumulus.

Diags attached. Screen shot attached for todays data. Yesterdays shows 6:04PM. Using Cumulus v1.9.1 (989)

Thanks in advance.

Image
You do not have the required permissions to view the files attached to this post.
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Today / Yesterday Time Hourly Rain Webtag

Post by steve »

It seems to be down to rounding errors in the way the same rain total is stored by Cumulus (in today.ini) and the VP2. Cumulus has:

12/05/2011 16:49:25.538 : Setting uncalibrated raintotal = 748.600036621094

And the VP2 has

12/05/2011 16:49:55.692 : VP2: Setting raintotal from current station value: 748.599975585938

which are the same number really. So subtracting them gives a non-zero value (= rain) but it difference rounds to zero.

Did your 'last time it rained' timestamp change? I think I may have done a properly rounded calculation on that one.
Steve
captzero
Posts: 363
Joined: Wed 03 Mar 2010 10:20 am
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows 10
Location: Brisbane, Australia
Contact:

Re: Today / Yesterday Time Hourly Rain Webtag

Post by captzero »

Thanks for that.
Last rain was at 2:36 am 10 May 11 which seems about right. (0.2mm, 1 tip in the bucket therefore no rain rate).

It's not a biggie. I was modifying my Records and Extremes page and noticed the time stamps.
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Today / Yesterday Time Hourly Rain Webtag

Post by steve »

captzero wrote:Last rain was at 2:36 am 10 May 11 which seems about right.
I should do the same check on the hourly rain that I do for that, so the timestamp doesn't change unnecessarily.
Steve
Post Reply