Re: [weewx-user] Re: Wind speed without units

2020-12-20 Thread John Kline
$current.windSpeed.format(add_label=False) is equivalent to $current.windSpeed.formatted The latter being a little shorter to type. Instead of MPH, you could use $unit.label.windSpeed > On Dec 20, 2020, at 4:01 PM, Rob Cranfill wrote: > > Thanks, all! Looks like there is more than one way to a

[weewx-user] Re: Wind speed without units

2020-12-20 Thread Rob Cranfill
Thanks, all! Looks like there is more than one way to accomplish this, thanks for the suggestions. :-) I think I like the looks of this, which does what I want: $current.windSpeed.format(add_label=False) – $span($time_delta=1800).windSpeed.max.format(add_label=False) MPH which gives me a resul

[weewx-user] Re: Wind speed without units

2020-12-20 Thread gjr80
Have a look at the Formatting options section in the Customization Guide. $x.windSpeed.raw will certainly give you a number (not a string) with no units and you can do whatever you want with the data but you will need to do all f