Skip to content

Commit

Permalink
Add S2C (#182)
Browse files Browse the repository at this point in the history
Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
  • Loading branch information
777arc and gadomski authored Feb 4, 2025
1 parent 8e4cb4f commit 75eca32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/stactools/sentinel2/granule_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ def platform(self) -> str | None:
return "sentinel-2a"
elif self.tile_id.startswith("S2B"):
return "sentinel-2b"
elif self.tile_id.startswith("S2C"):
return "sentinel-2c"
elif self.tile_id.startswith("S2D"):
return "sentinel-2d"
else:
return None

Expand Down

0 comments on commit 75eca32

Please sign in to comment.