From 3be002f0f790366d42044fb2f81f20aae4f583a5 Mon Sep 17 00:00:00 2001 From: Markus Kunze Date: Fri, 13 Dec 2024 14:59:25 +0100 Subject: [PATCH] Fix stactools.sentinel1 modules --- src/registration_library/datasets/sentinel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/registration_library/datasets/sentinel.py b/src/registration_library/datasets/sentinel.py index 6ee8cc3..9ac8329 100644 --- a/src/registration_library/datasets/sentinel.py +++ b/src/registration_library/datasets/sentinel.py @@ -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"):