Maybe it's just me, but has anybody else noticed that the wgust variable in realtime.txt (and consequently, banner.php) does not always display, IMO, the correct gust speed (supposed to be for the last 10 minute period, if I'm not mistaken). It changes too quickly, I believe, as in every time I refresh the realtime.txt/banner.php on my site. A quick check of other members' banners seemed to indicate I wasn't the only one experiencing this phenomenom. Therefore you may see various stations with gust speeds lower than the average speed.
My station is a Davis VP2. I'm updating the realtime data every five seconds. It's at http://www.vicweather.net/cumulus/realtime.txt
Here's an example from my own station:
Again, perhaps it's just me, or perhaps it's normal but to me it seems a bit odd.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
wgust
Moderator: daj
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: wgust
The gust value in realtime.txt (7th item) that the banner uses is actually the 'latest gust', i.e. the last reading from the station, the value that Cumulus shows as 'latest' on the main screen. The 10-minute high gust is the 41st item in realtime.txt. I've modified my banner to use that item. I believe that when the banner code was written, this item wasn't in realtime.txt.
It is perhaps a bit confusing that the 'gust' can be lower than the 10-minute average speed, but some stations do refer to the current reading as 'gust', and that's why I started using the term in Cumulus in this way. I renamed the display to 'latest' to try to ease the confusion, but the variable holding it in Cumulus is called gust (I should rename it, I suppose) and I do tend to slip into referring to the latest reading as 'gust', which is why the realtime.txt spec says wind speed (gust) for item 7 and why it was used (I believe) in the banner in this way.
Incidentally, the <#wgust> web tag does provide the 10-minute average gust, and the <#wlatest> supplies the latest reading.
It is perhaps a bit confusing that the 'gust' can be lower than the 10-minute average speed, but some stations do refer to the current reading as 'gust', and that's why I started using the term in Cumulus in this way. I renamed the display to 'latest' to try to ease the confusion, but the variable holding it in Cumulus is called gust (I should rename it, I suppose) and I do tend to slip into referring to the latest reading as 'gust', which is why the realtime.txt spec says wind speed (gust) for item 7 and why it was used (I believe) in the banner in this way.
Incidentally, the <#wgust> web tag does provide the 10-minute average gust, and the <#wlatest> supplies the latest reading.
Steve
- akinvic
- Posts: 24
- Joined: Mon 17 Nov 2008 10:59 pm
- Weather Station: Davis Vantage Pro 2
- Location: Victoria, BC, Canada
Re: wgust
The banner I'm using is version 3, which (I just found out) is based on the 1.8.2 beta version of realtime.txt. Which banner version are you using, Steve? Essentially I want my banner to display the actual 10 minute gust instead of what it is currently doing.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: wgust
Mine says:
Version: 3.0 - October 19th, 2008
But as I said, I've modified mine so it uses the 10-minute high gust (which clearly wasn't available at the time the script was written).
Change line 95 to:
Change line 269 to:
Steve
Version: 3.0 - October 19th, 2008
But as I said, I've modified mine so it uses the 10-minute high gust (which clearly wasn't available at the time the script was written).
Change line 95 to:
Code: Select all
"cversion","cbuild","recentmaxgust");
Code: Select all
$text = "Gust: " . ret_value("recentmaxgust") . ret_value("windunit");