From e179939fd6eba009542b4f883c4462cb98bd1c3c Mon Sep 17 00:00:00 2001 From: Bo Lu Date: Fri, 1 Nov 2024 13:18:52 -0400 Subject: [PATCH] sar to sat namespace for rcm-ard --- RCM-ARD/src/collector.py | 2 +- RCM-ARD/src/processor.py | 2 +- RCM-ARD/src/stac_to_geocore_rcm_ard.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RCM-ARD/src/collector.py b/RCM-ARD/src/collector.py index f8fcfe1..80cf413 100644 --- a/RCM-ARD/src/collector.py +++ b/RCM-ARD/src/collector.py @@ -11,7 +11,7 @@ from paginator import * from s3_operations import * -from stac_to_geocore_rcm-ard import * +from stac_to_geocore_rcm_ard import * diff --git a/RCM-ARD/src/processor.py b/RCM-ARD/src/processor.py index 1d26340..ea5bad5 100644 --- a/RCM-ARD/src/processor.py +++ b/RCM-ARD/src/processor.py @@ -10,7 +10,7 @@ logger = Logger() from s3_operations import * -from stac_to_geocore_rcm-ard import * +from stac_to_geocore_rcm_ard import * from dynamo_operations import update_item_finished diff --git a/RCM-ARD/src/stac_to_geocore_rcm_ard.py b/RCM-ARD/src/stac_to_geocore_rcm_ard.py index 53d792b..55f66ef 100644 --- a/RCM-ARD/src/stac_to_geocore_rcm_ard.py +++ b/RCM-ARD/src/stac_to_geocore_rcm_ard.py @@ -469,7 +469,7 @@ def item_to_features_properties(params, geocore_features_dict, item_dict, coll_i geometry_str = f"POLYGON(({west} {south}, {east} {south}, {east} {north}, {west} {north}, {west} {south}))" #EO filters / SAR properties - orbit_state = item_properties.get('sar:orbit_state', 'None') + orbit_state = item_properties.get('sat:orbit_state', 'None') polarizations = item_properties.get('sar:polarizations', 'None') #list polarizations_str = polarization_to_string(polarizations) eoFilters = [