Skip to content

Commit

Permalink
fix: AQUA-L2 new filename pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
castelao committed Oct 6, 2023
1 parent 046e837 commit d6b9e1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions OceanColor/backend/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,12 @@ def parse_filename(filename: str):
(?P<year>\d{4})
(?P<month>\d{2})
(?P<day>\d{2})
(?:
T
(?P<hour>\d{2})
(?P<minute>\d{2})
(?P<second>\d{2})
)?
.
(?P<mode>(L2)|(L3m))
(?:.DAY)?
Expand Down
4 changes: 1 addition & 3 deletions tests/test_inrange.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
db.backend = FileSystem("./")



@pytest.mark.skip()
def test_matchup_L2():
ds = db["A2017012213500.L2_LAC_OC.nc"]
ds = db["AQUA_MODIS.20170112T213500.L2.OC.nc"]
dL_tol = 12e3
dt_tol = timedelta64(6, 'h')
track = DataFrame([
Expand Down

0 comments on commit d6b9e1d

Please sign in to comment.