-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Description
I've found some METARS that cannot be parsed because they have 'COR AUTO' immediately following the report time. For instance:
>>> from metar.Metar import Metar
>>> Metar('''METAR KADW 252356Z COR AUTO 10008KT 10SM CLR 19/11 A2986
RMK AO2 SLP117 T01880111 10230 20188 50004 $ COR
0007=''')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jhaiduce/Development/python-metar/metar/Metar.py", line 499, in __init__
raise ParserError(message)
metar.Metar.ParserError: Unparsed groups in body 'AUTO' while processing 'METAR KADW 252356Z COR AUTO 10008KT 10SM CLR 19/11 A2986
RMK AO2 SLP117 T01880111 10230 20188 50004 $ COR
0007='
Metadata
Metadata
Assignees
Labels
No labels