See the section There is no wind direction when wind speed is zero
<http://www.weewx.com/docs/usersguide.htm#zero_windspeed> in the User's
Guide.

On Sun, Sep 4, 2022 at 8:39 AM Gerard Cerchio <[email protected]> wrote:

> This morning we had a very unusual occurrence here at Ocean Beach San
> Francisco. The wind speed dropped to 0 mph for a short period. This
> resulted in the value of *$currentwindDir.formatted* being set to *N/A*
> upsetting my wind gauge javascript which expects a numerical value.
>
> Do I need to add some code to check the *$currentwindDir.formatted * is
> numerical or is there a more reliably numerical weewx value I may use to
> set my wind direction gauge?
>
> Thanks.
>
> --
> 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 on the web visit
> https://groups.google.com/d/msgid/weewx-user/e8b59da7-8362-4626-a120-de4ac657a939n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/e8b59da7-8362-4626-a120-de4ac657a939n%40googlegroups.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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAvD6Dky2TDHhksZQFXeEmQYbCEW0uc8rg9%2BFXkWFc-_g%40mail.gmail.com.

Reply via email to