Page 1 of 1

it is possible to display the rain within the current hour?

Posted: Fri 11 Dec 2020 11:27 pm
by wetterfrosch1971
Hi,

it is possible to display the rain within the current hour, so that the rain that has fallen is always reset to zero at the full hour?

for example:
The Rain started to fall at 15:15 Uhr, at 16 Uhr the counter should be reset to zero, i.e. the counter should count from full hour to full hour.

many thanks.
Frank

Re: it is possible to display the rain within the current hour?

Posted: Sat 12 Dec 2020 6:40 am
by freddie
it is possible to display the rain within the current hour, so that the rain that has fallen is always reset to zero at the full hour?

Yes, there's a webtag for that. It is:

Code: Select all

<#rhour>
More about webtags in the wiki.

Re: it is possible to display the rain within the current hour?

Posted: Sat 12 Dec 2020 7:14 am
by beteljuice
@freddie

I thought that <#rhour> was the last 60min ?

Re: it is possible to display the rain within the current hour?

Posted: Sat 12 Dec 2020 7:36 am
by freddie
beteljuice wrote: Sat 12 Dec 2020 7:14 am I thought that <#rhour> was the last 60min ?
You may be right - I tend to use that webtag in an hourly tweet, sent at the top of the hour :)

Re: it is possible to display the rain within the current hour?

Posted: Sat 12 Dec 2020 12:25 pm
by mcrossley
There is no way of doing this in Cumulus, you would have to use the data provided and record the total at the top of each hour and subtract that from the current total in your own web site code.