Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
da95af1
sm r3.4
Sep 19, 2023
3a8e2ec
merge R4.0.2beta-1
Mar 11, 2024
b6cfbbb
change the SM commit id for R4.0.2
May 23, 2024
f764f2f
merge upstream develop branch
Jun 4, 2024
a920ae6
Merge remote-tracking branch 'upstream/develop' into develop
Jun 5, 2024
1d28fae
Merge remote-tracking branch 'upstream/develop' into develop
Jun 13, 2024
84f3874
Merge remote-tracking branch 'upstream/develop' into develop
Aug 12, 2024
2bb897a
Merge remote-tracking branch 'upstream/develop' into develop
Sep 14, 2024
da76f88
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Oct 2, 2024
6313217
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Oct 9, 2024
ce2b301
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Oct 15, 2024
8394511
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Oct 24, 2024
72645bd
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Oct 29, 2024
6f93fd3
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Dec 9, 2024
eebd988
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Jan 21, 2025
9b108ce
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Jan 29, 2025
b1c78f7
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Mar 18, 2025
e46f53f
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Apr 10, 2025
54d6ab4
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
May 12, 2025
73b6b9b
Merge branch 'develop' of https://github-fn.jpl.nasa.gov/isce-3/isce …
Jun 10, 2025
2eb1387
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Sep 30, 2025
42f2514
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Nov 14, 2025
39c9883
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Dec 1, 2025
f6cfd55
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Jan 14, 2026
6176caa
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Jan 16, 2026
1f111b3
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Mar 23, 2026
0cf5e3b
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Apr 2, 2026
41199fb
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Apr 27, 2026
a0bbee4
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
May 27, 2026
948b25b
remove the mask description for the wrapped ifgram
May 27, 2026
a3bddfe
remove the tmp folder
May 27, 2026
aa375c3
fix minors
May 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/packages/nisar/products/insar/GUNW_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def add_grids_to_hdf5(self):
)
mask_description_suffix = (
mask_description_no_iono
if ds_group_name == pixeloffsets_group_name
if ds_group_name in [wrapped_group_name, pixeloffsets_group_name]
else mask_description_iono
)

Expand Down
41 changes: 26 additions & 15 deletions python/packages/nisar/products/insar/InSAR_L1_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def add_pixel_offsets_to_swaths_group(self):
# add the datasets to pixel offsets group
self._add_datasets_to_pixel_offset_group()

def add_interferogram_to_swaths_group(self):
def add_interferogram_to_swaths_group(self, is_unwrapped=False):
"""
Add the interferogram group to the swaths group
"""
Expand Down Expand Up @@ -707,25 +707,36 @@ def add_interferogram_to_swaths_group(self):
'max_value', 'sample_stddev']:
igram_group['digitalElevationModel'].attrs[attr] = 0.0

mask_description_common = (
"Mask indicating the subswaths of valid samples and data anomalies"
" in the reference RSLC and the geometrically coregistered secondary RSLC."
" Each pixel value is encoded as a 32-bit unsigned integer."
" Bits 0–7 represent subswath encoding,"
" where the most significant digit corresponds to the subswath number of the reference RSLC"
" and the least significant digit corresponds to the subswath number of the secondary RSLC;"
" a value of 0 in either digit indicates an invalid sample in the corresponding RSLC."
" Bits 8–15 represent bitwise anomaly flags for the secondary RSLC,"
" and bits 16–23 represent bitwise anomaly flags for the reference RSLC,"
" with each bit corresponding to a specific anomaly condition."
" A value of 0 in the anomaly bits indicates that no anomaly is detected in the corresponding RSLC."
)
mask_description_no_iono = " Bits 24–31 are reserved for future use"
mask_description_iono = (
" Bit 24 indicates a bit mask for ionospheric phase mask used during filtering of ionospheric phase."
" This ionospheric phase mask indicates pixels which were masked out and filled with interpolated data."
" Bits 25–31 are reserved for future use")

mask_description = (
mask_description_common + mask_description_iono
if is_unwrapped else mask_description_common + mask_description_no_iono
)

# add the subswath mask layer to the interferogram group
self._create_2d_dataset(igram_group,
'mask',
shape=igram_shape,
dtype=np.uint32,
description=("Mask indicating the subswaths of valid samples and data anomalies"
" in the reference RSLC and the geometrically coregistered secondary RSLC."
" Each pixel value is encoded as a 32-bit unsigned integer."
" Bits 0–7 represent subswath encoding,"
" where the most significant digit corresponds to the subswath number of the reference RSLC"
" and the least significant digit corresponds to the subswath number of the secondary RSLC;"
" a value of 0 in either digit indicates an invalid sample in the corresponding RSLC."
" Bits 8–15 represent bitwise anomaly flags for the secondary RSLC,"
" and bits 16–23 represent bitwise anomaly flags for the reference RSLC,"
" with each bit corresponding to a specific anomaly condition."
" A value of 0 in the anomaly bits indicates that no anomaly is detected in the corresponding RSLC."
" Bit 24 indicates a bit mask for ionospheric phase mask used during filtering of ionospheric phase."
" This ionospheric phase mask indicates pixels which were masked out and filled with interpolated data."
" Bits 25–31 are reserved for future use"),
description=mask_description,
fill_value=255)
igram_group['mask'].attrs['valid_min'] = 0
igram_group['mask'].attrs['long_name'] = to_bytes("Valid samples subswath and data anomaly mask")
Expand Down
6 changes: 3 additions & 3 deletions python/packages/nisar/products/insar/RIFG_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ def add_algorithms_to_procinfo_group(self):
super().add_algorithms_to_procinfo_group()
self.add_interferogramformation_to_algo_group()

def add_interferogram_to_swaths_group(self):
def add_interferogram_to_swaths_group(self, is_unwrapped=False):
"""
Add interferogram group to swaths
"""
# Extract runconfiguration file
pcfg = self.cfg['processing']
super().add_interferogram_to_swaths_group()
super().add_interferogram_to_swaths_group(is_unwrapped)

# Add the wrappedInterferogram to the interferogram group
# under swaths group
Expand Down Expand Up @@ -120,4 +120,4 @@ def add_swaths_to_hdf5(self):
"""
super().add_swaths_to_hdf5()

self.add_interferogram_to_swaths_group()
self.add_interferogram_to_swaths_group(is_unwrapped=False)
6 changes: 3 additions & 3 deletions python/packages/nisar/products/insar/RUNW_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ def add_parameters_to_procinfo_group(self):
super().add_parameters_to_procinfo_group()
self.add_ionosphere_to_procinfo_params_group()

def add_interferogram_to_swaths_group(self):
def add_interferogram_to_swaths_group(self, is_unwrapped=False):
"""
Add interferogram group to swaths group
"""
super().add_interferogram_to_swaths_group()
super().add_interferogram_to_swaths_group(is_unwrapped)

# Add the connectedComponents, ionospherePhaseScreen,
# ionospherePhaseScreenUncertainty, and the
Expand Down Expand Up @@ -342,4 +342,4 @@ def add_swaths_to_hdf5(self):
"""
super().add_swaths_to_hdf5()

self.add_interferogram_to_swaths_group()
self.add_interferogram_to_swaths_group(is_unwrapped=True)
Loading