Make sure you put ignore_zero_wind in the right location. Your configuration file should look like:
[StdWXCalculate] ignore_zero_wind = false [[Calculations]] . . . Another option is that .format() can take an argument containing what you want when the value is None. See the Customizing Guide <http://weewx.com/docs/customizing.htm#formatting_options>. $current.windGust.format("%f", 0) -tk On Fri, Sep 22, 2017 at 10:54 PM, Nicolas Cazan <seedbox2...@gmail.com> wrote: > Hello, I try to display in wewwx_pws the max burst between two recordings, > so I use: > > > <realtime><data realtime="windheure">$current.windGust.formatted<!-- > dailyRain--></data></realtime> > > This seems to work, but I'm trying to also get the direction of this burst > so I use: > > <realtime><data realtime="windheuredirdegre">$ > current.windGustDir.formatted<!--dailyRain--></data></realtime> > <realtime><data realtime="windheuredir">$current.windGustDir.ordinal_ > compass<!--dailyRain--></data></realtime> > > > Also it seems to work, except that sometimes windhel when returning a > value like 25 km/h windheuredir returns N/A > > I already modified ignore_zero_wind = False, but still the same problem. > > then I circumvent this problem? > > thank you in advance > > -- > 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 weewx-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.