You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invalid SYNOP messages often lead to logged warnings when a decode error should be raised.
For example, when the YYGGiw group is missed, pymetdecoder returns [WARNING] *something* is not a valid code for WindIndicator.
Suggested fix: in __init__.py line 120, add raise DecodeError(str(e)). I have also found raising an error when an invalid section 1 precipitation group is found helps too when section 0 groups are missing, in synop/__init__.py line 176.
The text was updated successfully, but these errors were encountered:
Invalid SYNOP messages often lead to logged warnings when a decode error should be raised.
For example, when the YYGGiw group is missed, pymetdecoder returns
[WARNING] *something* is not a valid code for WindIndicator
.Suggested fix: in
__init__.py
line 120, addraise DecodeError(str(e))
. I have also found raising an error when an invalid section 1 precipitation group is found helps too when section 0 groups are missing, insynop/__init__.py
line 176.The text was updated successfully, but these errors were encountered: