Skip to content

Commit 1522c58

Browse files
authored
Merge pull request #161 from guillemc23/fix-sentinel-1c
fix: Support Sentinel-1C
2 parents 368df81 + c522ea5 commit 1522c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray_sentinel/esa_safe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def findall(
9797

9898
def parse_annotation_filename(name: str) -> tuple[str, str, str, str]:
9999
match = re.match(
100-
r"([a-z-]*)s1[ab]-([^-]*)-[^-]*-([^-]*)-([\dt]*)-", os.path.basename(name)
100+
r"([a-z-]*)s1[abc]-([^-]*)-[^-]*-([^-]*)-([\dt]*)-", os.path.basename(name)
101101
)
102102
if match is None:
103103
raise ValueError(f"cannot parse name {name!r}")

0 commit comments

Comments
 (0)