Thomas, it isn’t that weewx reports a wind speed of zero. WU accepts (and
expects) that. The issue is that weewx suppresses reporting the vane position
when wind speed is zero. If the vane position is not present in the data, WU
believes that the station does not support wind.
I believe that the correct behavior is that if the physical station reports the
vane position, it should be conveyed through to WU. This would match the
behavior of other software, and is what WU expects.
W.C., for the Vantage, the fix is trivial. Just comment out or delete the lines
that remove windDir from the report.
*** vantage.py.org Sun Mar 13 18:00:27 2016
--- vantage.py Thu May 12 10:47:58 2016
***************
*** 1311,1318 ****
loop_packet[_type] = func(raw_loop_packet[_type])
# Wind direction is undefined if wind speed is zero:
! if loop_packet['windSpeed'] == 0:
! loop_packet['windDir'] = None
# Adjust sunrise and sunset:
start_of_day = weeutil.weeutil.startOfDay(loop_packet['dateTime'])
--- 1311,1318 ----
loop_packet[_type] = func(raw_loop_packet[_type])
# Wind direction is undefined if wind speed is zero:
! #if loop_packet['windSpeed'] == 0:
! # loop_packet['windDir'] = None
# Adjust sunrise and sunset:
start_of_day = weeutil.weeutil.startOfDay(loop_packet['dateTime'])
Denny
> On Nov 11, 2016, at 16:06, Thomas Keffer <[email protected]> wrote:
>
> If weewx reports zero wind speed and the WU decides to interpret that as
> missing data, well... I don't know what we can do about that.
--
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.