Skip to content

Commit cc9adec

Browse files
committed
Add Layover/shadow mask in InSAR workflow
1 parent 66622d0 commit cc9adec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/packages/pybind_nisar/workflows/geocode_insar.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def run(cfg, runw_hdf5, output_hdf5):
100100
input_raster = isce3.io.Raster(str(raster_ref))
101101

102102
# access the HDF5 dataset for layover shadow mask
103-
dataset_path = f"{dst_freq_path}/layoverShadowMask"
104103
geo.data_interpolator = 'NEAREST'
105104
radar_grid = radar_grid_slc
106105
else:
@@ -111,10 +110,10 @@ def run(cfg, runw_hdf5, output_hdf5):
111110
input_raster = isce3.io.Raster(input_raster_str)
112111

113112
# access the HDF5 dataset for a given frequency and pol
114-
dataset_path = f"{dst_group_path}/{dataset_name}"
115113
geo.data_interpolator = interp_method
116114
radar_grid = radar_grid_multilook
117115

116+
dataset_path = f"{dst_group_path}/{dataset_name}"
118117
geocoded_dataset = dst_h5[dataset_path]
119118

120119
# Construct the output ratster directly from HDF5 dataset

0 commit comments

Comments
 (0)