Fix SPC text product parsing
This commit is contained in:
parent
95120cec8f
commit
a427da4b91
1 changed files with 2 additions and 2 deletions
|
@ -47,11 +47,11 @@ RE_VALIDITY = re.compile(r'''
|
||||||
(?P<minute_end>\d{2})Z$
|
(?P<minute_end>\d{2})Z$
|
||||||
''', re.X)
|
''', re.X)
|
||||||
|
|
||||||
RE_AREA_TYPE = re.compile(r'^(?P<type>[A-Z]+) OUTLOOK POINTS DAY .*')
|
RE_AREA_TYPE = re.compile(r'^(?P<type>[A-Z ]+) OUTLOOK POINTS DAY .*')
|
||||||
|
|
||||||
RE_HAZARD = re.compile(r'''
|
RE_HAZARD = re.compile(r'''
|
||||||
^(?:\.\.\.)
|
^(?:\.\.\.)
|
||||||
\s+ (?P<type>[A-Z]+)
|
\s+ (?P<type>[A-Z ]+)
|
||||||
\s+ (?:\.\.\.)$
|
\s+ (?:\.\.\.)$
|
||||||
''', re.X)
|
''', re.X)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue