Does the format instruction go into skin.conf under
[[[windDir]]]
$current.windDir.ordinal_compass ($current.windDir.format("%6.0f"))
On Sunday, November 24, 2024 at 9:23:44 AM UTC-6 Tom Keffer wrote:
> The "ordinal_compass" is the optional formatting. It requires no format
> string.
>
> If you want both, then you must specify both. With optional formatting for
> the wind direction, it would look something like this:
>
> $current.windDir.ordinal_compass ($current.windDir.format("%6.0f"))
>
> This results in
>
> NE (45.0º)
>
> -tk
>
>
>
> On Sun, Nov 24, 2024 at 12:46 AM Dani Talens <[email protected]> wrote:
>
>> Hello Tom,
>>
>> What I would like is to be able to apply the "format" and
>> "ordinal_compass" options at the same time. When testing it only shows the
>> ordinal points but does not apply format. For e ample,
>> $day.wind.vecdir.ordinal_compass.format(format_string="%6.0f") shows
>> ordinal points but not apply format.
>>
>> Thanks,
>>
>> El ds., 23 de nov. 2024, 21:28, Tom Keffer <[email protected]> va
>> escriure:
>>
>>> I'm not sure what you're looking for. Does option "directions
>>> <https://www.weewx.com/docs/5.1/reference/skin-options/units/#directions>"
>>> not satisfy your needs?
>>>
>>> On Sat, Nov 23, 2024 at 4:37 AM Dani Talens <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Is it not possible to apply formatting to the
>>>> $day.wind.vecdir.ordinal_compass?
>>>> I can apply format to $day.wind.vecdir with formatting options. For
>>>> example,
>>>> $day.wind.vecdir.format(format_string="%6.0f",$NONE,add_label=False).
>>>>
>>>> Thanks,
>>>>
>>>> [image: Captura de pantalla de 2024-11-23 13-30-54.png]
>>>>
>>>> --
>>>> 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/3c92253e-5e6a-4522-b3b0-1e799dae95b1n%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/weewx-user/3c92253e-5e6a-4522-b3b0-1e799dae95b1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/weewx-user/dOVejRsNKm4/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion visit
>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEA4GLJPXbLSUCeiSwx9ijHHyJPeWxvpgsRUHs0FbprNKA%40mail.gmail.com
>>>
>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEA4GLJPXbLSUCeiSwx9ijHHyJPeWxvpgsRUHs0FbprNKA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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/CADqQ_Kf2EEn3Cdrs8n4D%3D%2BKBCT3KHLnBfRLH5yM6Nn%3D%3DZREz1w%40mail.gmail.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/CADqQ_Kf2EEn3Cdrs8n4D%3D%2BKBCT3KHLnBfRLH5yM6Nn%3D%3DZREz1w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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/e46703d8-1e57-4378-9d67-24aa5ab5334fn%40googlegroups.com.