Skip to content

Commit

Permalink
Merge pull request #33 from gshiroma/rtc_gamma_release_2
Browse files Browse the repository at this point in the history
Final changes for Gamma Release
  • Loading branch information
gshiroma authored Mar 23, 2023
2 parents 15c88a5 + 06cfb3a commit ac03a11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/rtc_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/rtc/h5_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit ac03a11

Please sign in to comment.