Skip to content

Unparsed groups in body 'AUTO' #121

Description

@jhaiduce

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions