Skip to content

Commit 0fc26fa

Browse files
committed
Add Layover/shadow mask in InSAR workflow
1 parent cf52e46 commit 0fc26fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/packages/pybind_nisar/workflows/geocode_insar.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ 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}/{dataset_name}"
103104
geo.data_interpolator = 'NEAREST'
104105
radar_grid = radar_grid_slc
105106
else:
@@ -112,8 +113,8 @@ def run(cfg, runw_hdf5, output_hdf5):
112113
# access the HDF5 dataset for a given frequency and pol
113114
geo.data_interpolator = interp_method
114115
radar_grid = radar_grid_multilook
116+
dataset_path = f"{dst_group_path}/{dataset_name}"
115117

116-
dataset_path = f"{dst_group_path}/{dataset_name}"
117118
geocoded_dataset = dst_h5[dataset_path]
118119

119120
# Construct the output ratster directly from HDF5 dataset

0 commit comments

Comments
 (0)