Skip to content

Commit

Permalink
Update PNEO mtd regex to fit all data #190
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Dec 3, 2024
1 parent 3737046 commit 45e550d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eoreader/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def is_real_constellation(cls, const: Constellation):
r"imagery_[HV]{2}\.tif",
],
Constellation.PLD: r"DIM_PHR1[AB]_(P|MS|PMS|MS-N|MS-X|PMS-N|PMS-X)_\d{15}_(SEN|PRJ|ORT|MOS)_.{10,}\.XML",
Constellation.PNEO: r"DIM_PNEO\d_\d{15}_(PMS-FS|MS-FS|PMS|MS|P)_(SEN|PRJ|ORT|MOS)_.{8,}-.{4,}-.{4,}-.{4,}-.{12,}\.XML",
Constellation.PNEO: r"DIM_PNEO\d_\d{15}_(PMS-FS|MS-FS|PMS|MS|P)_(SEN|PRJ|ORT|MOS)_.{8,}(-.{4,}-.{4,}-.{4,}-.{12,}|_._._._.)\.XML",
Constellation.SPOT7: r"DIM_SPOT7_(P|MS|PMS|MS-N|MS-X|PMS-N|PMS-X)_\d{15}_(SEN|PRJ|ORT|MOS)_.{10,}\.XML",
Constellation.SPOT6: r"DIM_SPOT6_(P|MS|PMS|MS-N|MS-X|PMS-N|PMS-X)_\d{15}_(SEN|PRJ|ORT|MOS)_.{10,}\.XML",
Constellation.VIS1: r"DIM_VIS1_(PSH|MS4|PAN)_\d{14}_(PRJ|ORTP)_S\d{5,}_\d{4}_Meta\.xml",
Expand Down

0 comments on commit 45e550d

Please sign in to comment.