Skip to content

Commit

Permalink
Merge pull request #32 from vincelhx/main
Browse files Browse the repository at this point in the history
add icid & aux_ins
  • Loading branch information
agrouaze authored Aug 2, 2024
2 parents c77c767 + abcdeb9 commit 5a47aec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion safe_s1/sentinel1_xml_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def list_poly_from_list_string_coords(str_coords_list):

'aux_cal': (scalar, '//metadataSection/metadataObject/metadataWrap/xmlData/safe:processing/safe:resource/safe:processing/safe:resource[@role="AUX_CAL"]/@name'),
'aux_pp1': (scalar, '//metadataSection/metadataObject/metadataWrap/xmlData/safe:processing/safe:resource/safe:processing/safe:resource[@role="AUX_PP1"]/@name'),
'aux_ins': (scalar, '//metadataSection/metadataObject/metadataWrap/xmlData/safe:processing/safe:resource/safe:processing/safe:resource[@role="AUX_INS"]/@name'),

'aux_cal_sl2': (scalar,'//metadataSection/metadataObject/metadataWrap/xmlData/safe:processing/safe:resource[@role="AUX_CAL"]/@name'),
'annotation_files': (
Expand Down Expand Up @@ -182,6 +183,9 @@ def list_poly_from_list_string_coords(str_coords_list):
'xsd_overlay_file': (
normpath,
'/xfdu:XFDU/metadataSection/metadataObject[@ID="s1Level1MapOverlaySchema"]/metadataReference/@href'),
'instrument_configuration_id': (scalar,
'//s1sarl1:standAloneProductInformation/s1sarl1:instrumentConfigurationID/text()',
)
},
'calibration': {
'polarization': (scalar, '/calibration/adsHeader/polarisation'),
Expand Down Expand Up @@ -901,7 +905,9 @@ def convert_to_int(swath):
'stop_date': 'manifest.stop_date',
'footprints': 'manifest.footprints',
'aux_cal': 'manifest.aux_cal',
'aux_pp1': 'manifest.aux_pp1'
'aux_pp1': 'manifest.aux_pp1',
'aux_ins': 'manifest.aux_ins',
'icid' : 'manifest.instrument_configuration_id'
},
'safe_attributes_sl2': {
'ipf_version': 'manifest.ipf_version',
Expand Down

0 comments on commit 5a47aec

Please sign in to comment.