ignore_zero_wind not working in 4.2.0?

110 views
Skip to first unread message

Bill Arthur

unread,
Nov 17, 2020, 4:20:55 AM11/17/20
to weewx-user
I have three pi's running weewx, two have been moved up to 4.2.0, one is still on 4.1.1. All have ignore_zero_wind set to False. The two that are on 4.2.0 no longer work as expected (zero wind shows wind direction) but the 4.1.1 still works as expected.

Did something happen in 4.2.0 that changed the behavior of ignore_zero_wind = False?

gjr80

unread,
Nov 17, 2020, 5:52:40 AM11/17/20
to weewx-user
Bill,

There was a change to the StdWXCalculate service in 4.2.0 that has inadvertently changed the operation of ignore_zero_wind. Normal (expected) operation should resume if you change the ignore_zero_wind setting to be the opposite of its current value (ie if under 4.1.1 or earlier you had ignore_zero_wind = False change it to ignore_zero_wind = True or if you had ignore_zero_wind = True change it to ignore_zero_wind = False).

If you don’t use ignore_zero_wind you are not affected by the change and need do nothing.

Gary

steeple ian

unread,
Nov 17, 2020, 8:29:30 AM11/17/20
to weewx...@googlegroups.com
Gary,
Whilst on the subject of ignore_zero, is there a similar expression for ignore_null?
Thanks,
Ian

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/32a55d26-bddb-4303-b559-232ff36e9cf0n%40googlegroups.com.

gjr80

unread,
Nov 17, 2020, 9:10:52 AM11/17/20
to weewx-user
Ian,

Short answer is no, ignore_zero_wind is the only StdWXCalculate option that affects wind direction. What do you want ignore_null (ignore_null_wind ?) to do? Pass through the wind vane direction if wind speed is None - if so ignore_zero_wind should do that.

Gary

steeple ian

unread,
Nov 17, 2020, 9:17:55 AM11/17/20
to weewx...@googlegroups.com
Gary,
Sorry I slightly highjacked the topic, nothing to do with wind. Looking for a way to use a .tmpl to find the last record that is not null and the ignore caught my eye on the off chance. Will start a new thread if there is not a quick answer.
Thanks
Ian

gjr80

unread,
Nov 17, 2020, 9:48:22 AM11/17/20
to weewx-user
Yes, suggest a new thread.

Gary

salinois

unread,
Nov 20, 2020, 5:01:41 PM11/20/20
to weewx...@googlegroups.com

hello,

to bounce back on this subject, I switched to V 4.2.0 too, I have this error message, can it come from my Wind sensor and vane which is not connected?

logs:

Nov 20 17:58:31 raspberrypi /weewxd: BYOWS RPi: Unknown Wind Vane value: 0.0

thanks

Patrick

gjr80

unread,
Nov 20, 2020, 7:38:53 PM11/20/20
to weewx-user
It would appear so but impossible to be certain without seeing the code that raised the error.

Gary

G Smith

unread,
Jan 4, 2021, 5:48:19 AM1/4/21
to weewx-user
Hi, Gary.
I have also been affected by this change and, fortunately, your solution fixed my problem.  Do you know if this is a temporary regression that will require me to change my .conf again (back to the pre-4.2.0 way) in the near future?  Or is this expected to be a permanent change?

Thanks!
-- Greg

gjr80

unread,
Jan 4, 2021, 12:03:54 PM1/4/21
to weewx-user
Hi Greg,

When 4.3.0 is released shortly you will find the [StdWXCalculate] stanza in weewx.conf has been restructured and the previously undocumented settings documented. ignore_zero_wind has been deprecated and replaced by a new structure and config option force_null. ignore_zero_wind will continue to be supported for now though.

The upgrade process to 4.3.0 should take care of things, but if you are an ‘ignore_zero_wind user’ I would strongly suggest reading the upgrade guide closely this time around.

Gary

Reply all
Reply to author
Forward
0 new messages