Fix wind speed/direction calculation

This commit is contained in:
XANTRONIX 2025-03-02 21:31:44 -05:00
parent 131b01640c
commit 5708e02704

View file

@ -75,13 +75,10 @@ class RAOBObs():
if token == '=':
return
if token[2] == '1':
base_speed = 100
elif token[2] == '5':
if token[2] == '0' or token[2] == '5':
base_dir = 5
elif token[2] == '6':
else:
base_speed = 100
base_dir = 5
if token[0:2] == '//':
wind_dir = None