Skip to content

Commit

Permalink
update regex to get stations
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisblake committed Aug 1, 2023
1 parent 9d083ab commit 6ce961f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pyaerocom/plugins/icos/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from pyaerocom import const

from pyaerocom.plugins.mep import ReadMEP
from pyaerocom.plugins.mep.reader import ReadMEP


class ReadICOS(ReadMEP):
Expand Down Expand Up @@ -56,9 +56,7 @@ class ReadICOS(ReadMEP):

VAR_MAPPING = {"vmrco2": "CO2_volume_mixing_ratio"}

STATION_REGEX = re.compile(
"icos-co2-nrt-(.*A)-.*.nc"
) # LB: this needs checking. Don't think it's right
STATION_REGEX = re.compile("icos-co2-nrt-(.*)-.*-.*-.*.nc")

DEFAULT_VARS = list(VAR_MAPPING)

Expand Down

0 comments on commit 6ce961f

Please sign in to comment.