Skip to content

Commit 1285647

Browse files
Virginia BrancatoGitHub Enterprise
authored andcommitted
Bug in stand-alone usage of fine resample (#892)
1 parent 1034327 commit 1285647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/packages/nisar/workflows/resample_slc_runconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def yaml_check(self, resample_type):
5656
# use the HH or VV rubbersheeted offsets to fine
5757
# resample the secondary SLC. Check for the offsets existence
5858
for freq in frequencies:
59-
for pol in ['HH', 'VV']:
59+
for pol in set.intersection(set(['HH', 'VV']), set(freq_pols[freq])):
6060
rg_off = os.path.join(offsets_dir,
61-
'rubbersheeted_offsets',
61+
'rubbersheet_offsets',
6262
f'freq{freq}', pol, 'range.off.vrt')
6363
az_off = rg_off.replace('range', 'azimuth')
6464
if not os.path.exists(rg_off) or not os.path.exists(az_off):

0 commit comments

Comments
 (0)