Update STATIC workflow for new water mask spec - #334
Merged
nemo794 merged 2 commits intoAug 17, 2026
Conversation
Contributor
|
Thanks for fixing the bug @nemo794 . Would you please confirm if you or Max have run this PR on one example and the water mask is fixed? |
|
@hfattahi I was able to run this PR last week on 4 examples, which I uploaded to S3. Has anyone had the chance to take a look? |
Contributor
Author
|
Using the HDF5s @jplzhan generated with this PR in the production pipeline, it appears that the water mask values are corrected for the water mask. Below are screenshots from those granules, where Blue:Water and Brown:Not Water
|
Contributor
Author
|
I also added a fresh commit, which makes the classification values explicit in the STATIC runconfig's comments. (No code logic change.) @hfattahi @oberonia78 Could you please re-review when you have a chance? Thanks! |
Contributor
Author
Tyler-g-hudson
added a commit
that referenced
this pull request
Aug 20, 2026
commit fc8112c Author: xhuang-jpl <118782850+xhuang-jpl@users.noreply.github.com> Date: Thu Aug 20 11:35:37 2026 -0700 Update Soil Moisture SAS to v0.4.3 (#349) * sm r3.4 * change the SM commit id for R4.0.2 * update the SM SAS version to v0.4.3 --------- Co-authored-by: Xiaodong Huang <xhuang@nisar-adt-dev-3.jpl.nasa.gov> commit 0d1600d Author: SamNemo <11642807+nemo794@users.noreply.github.com> Date: Mon Aug 17 16:19:06 2026 -0700 Update STATIC workflow for new water mask spec (#334) * Update STATIC workflow for new water mask spec. * Update STATIC runconfig with explicit classification values for water mask --------- Co-authored-by: Samantha C. Niemoeller <samantha.c.niemoeller@jpl.nasa.gov> commit be7b3d9 Author: Brian Hawkins <1729052+bhawkins@users.noreply.github.com> Date: Thu Aug 13 18:13:07 2026 -0500 Fix failing unit test test.cxx.isce3.io.raster.raster (#348) * Check raster dimensions * Initialize all rows in mask file. commit 0a8df45 Author: Tyler G. Hudson <tyler.g.hudson@gmail.com> Date: Tue Aug 11 17:25:18 2026 -0700 Remove pyproj Dependency to Resolve conda-forge Feedstock Issues (#339) * Remove dead code in llhxyz.py that depends on pyproj * Update reprojection code in unwrap/preprocess.py commit 54f2c28 Author: Gustavo H. X. Shiroma <52007211+gshiroma@users.noreply.github.com> Date: Thu Jun 25 23:50:55 2026 -0700 Add radar grid decimation option to compute the static layers layover/shadow mask (#328) * disable polarimetric symmetrization by default * revert changes to `symmetrize_cross_pol_channels` * Update GCOV and GSLC specification XMLs * Revert changes to the GCOV and GSLC specification XMLs * add radargrid decimation option to compute the layover shadow mask * simplify parameter names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




This PR updates to the STATIC Workflow to reflect the current specification for the NISAR Water Mask, which uses the classifications (Per JPL D-107710):
Background
When the Static Workflow was originally implemented in #144 , the classification used by the NISAR water mask at that time was:
isce3/python/packages/nisar/static/water_mask.py
Lines 21 to 24 in bdf1f6f
However, for the current water mask TIFF files being used in mission operations, 0 designates not-water, and 1-200 designates water. Here is a screenshot of
NISAR_water_mask_N33_N34_W119_W118_30m_v0.5.0.tif, provided by M Zahn:Due to this discrepancy, the static layers workflow was generating
waterMasklayers with the binary values 0 and 1 inverted. This PR resolves the issue.