Skip to content

Commit 51b304e

Browse files
Virginia Brancatovbrancat
authored andcommitted
Change POLAR to INSAR to generate RIFG, RUNW, GUNW contemporaneously. (#778)
* Change POLAR to INSAR in insar schema * Change POLAR to INSAR in runconfig imagesets * Change POLAR to INSAR in INSAR product type * Change INSAR to RIFG_RUNW_GUNW Co-authored-by: vbrancat <[email protected]>
1 parent d444632 commit 51b304e

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

python/packages/pybind_nisar/workflows/h5_prep.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_products_and_paths(cfg: dict) -> (dict, dict):
2626

2727
# dict keying product type with list with possible product type(s)
2828
insar_products = ['RIFG', 'RUNW', 'GUNW']
29-
product_dict = {'POLAR': insar_products,
29+
product_dict = {'RIFG_RUNW_GUNW': insar_products,
3030
'GUNW': insar_products,
3131
'RUNW': insar_products[:-1],
3232
'RIFG': [insar_products[0]],
@@ -38,7 +38,7 @@ def get_products_and_paths(cfg: dict) -> (dict, dict):
3838
insar_path = lambda out_path, product: \
3939
os.path.join(os.path.dirname(out_path),
4040
product + '_' + os.path.basename(out_path))
41-
h5_paths = {'POLAR': dict(zip(insar_products,
41+
h5_paths = {'RIFG_RUNW_GUNW': dict(zip(insar_products,
4242
[insar_path(output_path, product) for product
4343
in insar_products])),
4444
'GUNW': {'RIFG': f'{scratch}/RIFG.h5',

share/nisar/schemas/insar.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ runconfig:
2323
# Intermediate file name. SAS writes output product to the following file.
2424
# After the SAS completes, the PGE wrapper renames the product file
2525
# according to proper file naming conventions.
26-
# In POLAR mode, GUNW, RIFG, and RUNW will be prepended to SASOutputFile
26+
# In INSAR mode, GUNW, RIFG, and RUNW will be prepended to SASOutputFile
2727
SASOutputFile: str()
2828

2929
PrimaryExecutable:
30-
# POLAR will produce full GUNW, RIFG, and RUNW HDF5 products
31-
ProductType: enum('GUNW', 'RIFG', 'RUNW', 'POLAR')
30+
# RIFG_RUNW_GUNW will produce all three InSAR products
31+
ProductType: enum('GUNW', 'RIFG', 'RUNW', 'RIFG_RUNW_GUNW')
3232

3333
DebugLevelGroup:
3434
DebugSwitch: bool()

tools/imagesets/runconfigs/insar_UAVSAR_NISARP_32039_19049-005_19052-004_129.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runconfig:
2727
SASOutputFile: output_insar/gunw.h5
2828

2929
PrimaryExecutable:
30-
ProductType: POLAR
30+
ProductType: RIFG_RUNW_GUNW
3131

3232
DebugLevelGroup:
3333
DebugSwitch: false

tools/imagesets/runconfigs/insar_UAVSAR_SanAnd_05518_12018-000_12128-008_143.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runconfig:
2727
SASOutputFile: output_insar/gunw.h5
2828

2929
PrimaryExecutable:
30-
ProductType: POLAR
30+
ProductType: RIFG_RUNW_GUNW
3131

3232
DebugLevelGroup:
3333
DebugSwitch: false

tools/imagesets/runconfigs/insar_UAVSAR_Snjoaq_14511_18034-014_18044-015_143.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runconfig:
2727
SASOutputFile: output_insar/gunw.h5
2828

2929
PrimaryExecutable:
30-
ProductType: POLAR
30+
ProductType: RIFG_RUNW_GUNW
3131

3232
DebugLevelGroup:
3333
DebugSwitch: false

0 commit comments

Comments
 (0)