I'm using weewx on a raspberrypi, debian. In the directory /etc/weewx/skins/Standard/ I added a file because I need a resumen of meteo data for a meteo network
For the wind I have two lines: $current.windGust.km_per_hour.formatted $current.windDir.ordinal_compass However, when the first is low (< 2), the latter is N/A. I understand the logic behind this behaviour, but is there a way to get a numeric value, e.g. 0 ? Alternatively, is there a way to change the second line to something like if ($current.windGust.km_per_hour.formatted > 2): $current.windDir.ordinal_compass else: 0 ? -- 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]. For more options, visit https://groups.google.com/d/optout.
