Skip to content

Commit

Permalink
Update prep_slc_isce.py to remove multilook metadata read
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzaees authored Sep 27, 2023
1 parent a791b13 commit ab45597
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/miaplpy/prep_slc_isce.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def extract_isce_metadata(meta_file, geom_dir=None, rsc_file=None, update_mode=T
if processor != 'alosStack':
metadata = isce_utils.extract_geometry_metadata(geom_dir, metadata, fext_list=['.rdr.full','.geo.full'])

'''
# get metadata for multilooked data as full resolution lacks the LOB_REF1, etc information
metadata_multi_looked = copy.deepcopy(metadata)
metadata_multi_looked = isce_utils.extract_geometry_metadata(geom_dir, metadata_multi_looked)
Expand All @@ -151,6 +152,7 @@ def extract_isce_metadata(meta_file, geom_dir=None, rsc_file=None, update_mode=T
metadata['LAT_REF2'] = metadata_multi_looked['LAT_REF2']
metadata['LAT_REF3'] = metadata_multi_looked['LAT_REF3']
metadata['LAT_REF4'] = metadata_multi_looked['LAT_REF4']
'''

# NCORRLOOKS for coherence calibration
rgfact = float(metadata['rangeResolution']) / float(metadata['rangePixelSize'])
Expand Down

0 comments on commit ab45597

Please sign in to comment.