Skip to content

Commit

Permalink
Correct naming of Mom6 extra regexp group
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-white committed Jan 6, 2025
1 parent 291aca6 commit 6efac93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/access_nri_intake/source/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class Mom6Builder(BaseBuilder):
# make it work with the ? selector after mom6_added_timestamp
# NOTE: Order here is important!
PATTERNS = [
rf"[^\.]*(?P<{TIMESTAMP_GROUP}>{PATTERNS_HELPERS['ymd-ns']})\.{PATTERNS_HELPERS['mom6_components']}.*{PATTERNS_HELPERS['mom6_added_timestamp']}.*$", # Daily snapshot naming
rf"[^\.]*(?P<{TIMESTAMP_GROUP}>{PATTERNS_HELPERS['ymd-ns']})\.{PATTERNS_HELPERS['mom6_components']}.*(?P<mom6_added_timestamp>{PATTERNS_HELPERS['mom6_added_timestamp']}).*$", # Daily snapshot naming
rf"[^\.]*(?P<{TIMESTAMP_GROUP}>{PATTERNS_HELPERS['ymd-ns']})\.{PATTERNS_HELPERS['mom6_components']}.*$", # Basic naming
]
TIME_PARSER = GfdlTimeParser
Expand Down

0 comments on commit 6efac93

Please sign in to comment.