diff --git a/app/rtc_compare.py b/app/rtc_compare.py index b932e606..3f0a4c28 100755 --- a/app/rtc_compare.py +++ b/app/rtc_compare.py @@ -700,8 +700,9 @@ def _compare_rtc_s1_metadata(metadata_1, metadata_2): ' but it is not present in input 2') break # Exclude metadata fields that are not required to be the same - if k1 in ['PROCESSING_DATETIME', 'DEM_SOURCE', 'LANDCOVER_SOURCE', - 'WORLDCOVER_SOURCE']: + if k1 in ['PROCESSING_DATE_TIME', 'DEM_SOURCE', 'ISCE3_VERSION', + 'ANNOTATION_FILES', 'CONFIG_FILES', 'DEM_FILES', + 'ORBIT_FILES']: continue if metadata_2[k1] != v1: flag_same_metadata = False diff --git a/src/rtc/h5_prep.py b/src/rtc/h5_prep.py index 71f91366..7a85b874 100644 --- a/src/rtc/h5_prep.py +++ b/src/rtc/h5_prep.py @@ -304,7 +304,7 @@ def get_metadata_dict(product_id: str, 'NOMINAL (or) URGENT (or) CUSTOM (or) UNDEFINED'], # datetime format 'YYYY-MM-DD HH:MM:SS' 'identification/processingDateTime': - ['processing_data_time', + ['processing_date_time', datetime.now().strftime("%Y-%m-%dT%H:%M:%S.%fZ"), 'Processing date and time'], 'identification/productVersion':