On Sun, 15 Dec 2024 at 03:34, 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
>

You are correct. That is the output from that line.


> But I'm still seeing:
> Wind speed: 0.2 mph (ave), 2.3 mph (gust) W (259 deg)
>

The tag ($current.windDir deg) will give you the (259 deg) style output.

Is that tag still in your template? If it's not, are you editing the
correct template?
Having been in the same (confusing) space before, I change, or add some
random text to the template to make certain. If that doesn't propagate with
the next mastodon post I know I'm looking in the wrong spot.


Cheers
 Glenn

Various WeeWx addons at
https://github.com/glennmckechnie

-- 
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/CAAraAzjtST%3D1VQYCKSVvgs9vnBS-zwWEuHLykQ%3Dk11FXkiHT%2Bw%40mail.gmail.com.

Reply via email to