On 14/12/2024 23:48, Tom Keffer wrote:
I tried

Wind speed: $current.windSpeed (ave), $current.windGust (gust) $current.windDir.ordinal_compass

and, as expected, got

Wind speed: 6 mph (ave), 12 mph (gust) W

I suspect that you're either editing the wrong template, or looking at the wrong output.


On Sat, Dec 14, 2024 at 8:34 AM Mark Fraser <[email protected]> wrote:

    In a template that I use for posting the weather to Mastodon, I
    have the line:
    Wind speed: $current.windSpeed (ave), $current.windGust (gust)
    $current.windDir.ordinal_compass
    Which should, according to
    https://weewx.com/docs/4.3/customizing.htm should just show:
    Wind speed: 0.2 mph (ave), 2.3 mph (gust) W
    But I'm still seeing:
    Wind speed: 0.2 mph (ave), 2.3 mph (gust) W (259 deg)

Thanks Tom & Glenn,

That was the issue, I had 2 copies of that file and was editing the one that wasn't used.

Mark.

--
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/e58b2f7c-86d8-42c2-8b52-5ab7ee3e90a6%40gmail.com.

Reply via email to