Just another query if I may...
We've had a couple of windy days here, so naturally I've been paying close attention to the wind data on the template. I've noticed the recorded wind speed seems to get stuck for quite a period of time...so right now it's 5.6km/h and it's been that way for some minutes without change. The same was happening earlier in the day when it was quite blustery on & off..but the template would show the one wind speed reading for quite some time. My internal Cumulus readings are as they should be - they vary with the breeze, up, and down, but on the template it appears to always be stuck at something like 5.6km/h, 11.1km.h etc, and now it's stuck on 6 km/h. Obviously I don't expect it to record and upload the wind speed for every single second but is it normal to see it stuck on certain values for 5+ minutes? I tried setting var wind = convertWind(realtime[5]); to var wind = convertWind(realtime[6]); as I saw in another thread but it made no difference.
Thanks in advance.
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
Trouble with Wind Speed
Moderator: saratogaWX
- saratogaWX
- Posts: 1198
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Trouble with Wind Speed
The Windspeed displayed comes from two sources, both produced by CumulusMX
When the page first loads, the PHP displays the value of from CUtags.php via CU-defs.php.
When the AJAX script (ajaxCUwx.js) starts execution, the data comes from realtime.txt as uploaded by CumulusMX. Looks like you're uploading every 10 seconds.
The current windspeed (with the stock ajaxCUwx.js script) uses field which is the wind speed (average) <#wspeed> to match what the PHP displays. You can use which would use the latest windspeed <#wlatest> instead.
I don't know what the period used to average windspeed in <#wspeed>/realtime[5] is, but it's likely to be 1 to 5 minutes.. Mark can say for certain.
In any case, the website simply reports what data is available from CumulusMX uploads of CUtags.php and realtime.txt
When the page first loads, the PHP displays the value of
Code: Select all
$avgspd = $WX['wspeed'];
When the AJAX script (ajaxCUwx.js) starts execution, the data comes from realtime.txt as uploaded by CumulusMX. Looks like you're uploading every 10 seconds.
The current windspeed (with the stock ajaxCUwx.js script) uses field
Code: Select all
var wind = convertWind(realtime[5]);
Code: Select all
var wind = convertWind(realtime[6]);
I don't know what the period used to average windspeed in <#wspeed>/realtime[5] is, but it's likely to be 1 to 5 minutes.. Mark can say for certain.
In any case, the website simply reports what data is available from CumulusMX uploads of CUtags.php and realtime.txt