On Mon, Mar 20, 2017 at 8:34 PM, gjr80 <[email protected]> wrote: > Since you have rapidfire on WU should be being fed the loop windSpeed > values. The loop windSpeed values appear in gauge-data.txt in the wlatest > field not the wspeed field you are using; wspeed is the 'average wind > speed' which will be the average wind speed over an archive period or 5 > minutes depending on settings. The wgust used by your page is the highest > wind speed seen over the last 10 minutes, that seems approriate though I am > not sure exactly what WU uses. > > Direction wise you are using fields bearing and domwinddir, bearing will > be the direction corresponding to the loop windSpeed value so that seems > appropriate but domwinddir is the vector average wind direction for > today. Your brackets around domwinddir seem to imply it is the compas > point equvalent of bearing which it isn't, if that is what you intend > then perhaps you need to express bearing as a compass point either in the > code on your page or in the source gauge-data.txt. >
Thanks for the clarification, I updated the code so: wlatest = current wind speed wgust = 10 minute high wind gust bearing = current wind direction wgustTM = today's highest wind gust TwgustTM = time of today's highest wind gust Incidentally, for anyone else who comes down this path, there's good documentation on the variables used by the Real Time Gauge here: http://wiki.sandaysoft.com/a/Realtime.txt -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
