Skip to content
Open
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
f459daf
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Jul 31, 2026
d59acbe
Merge branch 'develop' of https://github.com/isce-framework/isce3 int…
Aug 19, 2026
1abf758
fix the prod spec 304
Aug 19, 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
4 changes: 2 additions & 2 deletions python/packages/nisar/products/insar/GOFF_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def add_grids_to_hdf5(self):
yds=yds,
fill_value=255,
)
offset_group['mask'].attrs['valid_min'] = 0
offset_group['mask'].attrs['percentage_water'] = 0.0
offset_group['mask'].attrs['valid_min'] = np.uint32(0)
offset_group['mask'].attrs['percentage_water'] = np.float32(0.0)
offset_group['mask'].attrs['disclaimer'] = to_bytes(self.water_mask_source)

pixeloffsets_group_name = \
Expand Down
4 changes: 2 additions & 2 deletions python/packages/nisar/products/insar/GUNW_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ def add_grids_to_hdf5(self):
yds=yds,
fill_value=255,
)
ds_group['mask'].attrs['valid_min'] = 0
ds_group['mask'].attrs['percentage_water'] = 0.0
ds_group['mask'].attrs['valid_min'] = np.uint32(0)
ds_group['mask'].attrs['percentage_water'] = np.float32(0.0)
ds_group['mask'].attrs['disclaimer'] = to_bytes(self.water_mask_source)

for pol in pol_list:
Expand Down
4 changes: 2 additions & 2 deletions python/packages/nisar/products/insar/InSAR_L1_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def add_pixel_offsets_to_swaths_group(self):
" Bits 24-31 are reserved for future use"),
fill_value=255)
offset_group['mask'].attrs['long_name'] = to_bytes("Valid samples subswath and data anomaly mask")
offset_group['mask'].attrs['valid_min'] = 0
offset_group['mask'].attrs['valid_min'] = np.uint32(0)

range_offset_path = \
os.path.join( self.topo_path,
Expand Down Expand Up @@ -738,7 +738,7 @@ def add_interferogram_to_swaths_group(self, is_unwrapped=False):
dtype=np.uint32,
description=mask_description,
fill_value=255)
igram_group['mask'].attrs['valid_min'] = 0
igram_group['mask'].attrs['valid_min'] = np.uint32(0)
igram_group['mask'].attrs['long_name'] = to_bytes("Valid samples subswath and data anomaly mask")

range_offset_path = \
Expand Down
16 changes: 8 additions & 8 deletions python/packages/nisar/workflows/compute_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ def compute_stats_real_hdf5_dataset(h5_ds):
h5_ds: h5py.Dataset
hdf5 dataset object
"""
h5_ds.attrs.create('min_value', data=np.nanmin(h5_ds))
h5_ds.attrs.create('mean_value', data=np.nanmean(h5_ds))
h5_ds.attrs.create('max_value', data=np.nanmax(h5_ds))
h5_ds.attrs.create('sample_stddev', data=np.nanstd(h5_ds))
h5_ds.attrs.create('min_value', data=h5_ds.dtype.type(np.nanmin(h5_ds)))
h5_ds.attrs.create('mean_value', data=h5_ds.dtype.type(np.nanmean(h5_ds)))
h5_ds.attrs.create('max_value', data=h5_ds.dtype.type(np.nanmax(h5_ds)))
h5_ds.attrs.create('sample_stddev', data=h5_ds.dtype.type(np.nanstd(h5_ds)))

def compute_stats_real_data(raster, h5_ds):
"""
Expand All @@ -53,11 +53,11 @@ def compute_stats_real_data(raster, h5_ds):
stats_obj = isce3.math.compute_raster_stats_float64(raster)[0]
else:
stats_obj = isce3.math.compute_raster_stats_float32(raster)[0]
h5_ds.attrs.create('min_value', data=stats_obj.min)
h5_ds.attrs.create('mean_value', data=stats_obj.mean)
h5_ds.attrs.create('max_value', data=stats_obj.max)
h5_ds.attrs.create('min_value', data=h5_ds.dtype.type(stats_obj.min))
h5_ds.attrs.create('mean_value', data=h5_ds.dtype.type(stats_obj.mean))
h5_ds.attrs.create('max_value', data=h5_ds.dtype.type(stats_obj.max))
h5_ds.attrs.create('sample_stddev',
data=stats_obj.sample_stddev)
data=h5_ds.dtype.type(stats_obj.sample_stddev))

def compute_layover_shadow_water_stats(h5_ds, lines_per_block=1000):
'''
Expand Down
Loading