Hi, At the moment the weeWX tag system <http://weewx.com/docs/customizing.htm#Tags> does not support Beaufort wind speeds. WeeWX has a function in bin/weewx/wxformaulas.py to calculate Beaufort wind speed but it is not used. You have seen Beaufort mentioned in the change log, Beaufort was added to the StdWXCalculate service but it is presently disabled; I am not sure why this is so - Matthew maybe able to answer that one.
So the only way to include Beaufort wind speed in a template now is through in-line python code in the template (example in the gauge-data.txt template here <https://github.com/mcrossley/SteelSeries-Weather-Gauges/blob/master/weather_server/WeeWX/gauge-data.txt.tmpl> - code starts at line 170) or create a search list extension to calculate the Beaufort wind speed - this could use the beaufort() function in wxformuals.py. In theory, you could enable beaufort in StdWXCalculate and would then have access to the $current.beaufort tag in reports, but as I said I am not sure why this was disabled. Finally, you can do as you and others have and calculate it externally to weeWX if its to be used on a web page or elsewhere. Gary On Friday, 18 August 2017 07:32:52 UTC+10, wysiwyg wrote: > > Hi there! > > I have seen some mentions about beaufort in version logs and bit in the > weewx code, but I was not able to figure out how to use it ? > > I tried: $current.beaufort....this works (it does not crash cheetah) but > weird result:$current.beaufort=?'beaufort'? > > I tried: month.beaufort.max: it does crash cheetah. > > How can we use this ? > > Best regards, > > > -- 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.
