Skip to content

Commit

Permalink
Fix stactools.sentinel1 modules
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-kunze committed Dec 13, 2024
1 parent 040ca64 commit 3be002f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/registration_library/datasets/sentinel.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ def sentinel_metadata(scene_path, scene_id, return_pystac=False, add_file_size=F
stac_function = None
stac_function_args = {}
if scene_id.startswith("S1") and "_GRD" in scene_id:
stac_function = "stactools.sentinel1.stac.create_item"
stac_function = "stactools.sentinel1.grd.stac.create_item"
elif scene_id.startswith("S1") and "_SLC" in scene_id:
stac_function = "stactools.sentinel1.stac.create_item"
stac_function = "stactools.sentinel1.slc.stac.create_item"
elif scene_id.startswith("S2"):
stac_function = "stactools.sentinel2.stac.create_item"
elif scene_id.startswith("S3"):
Expand Down

0 comments on commit 3be002f

Please sign in to comment.