Skip to content

Update InSAR to copy statistics from input product#148

Open
nemo794 wants to merge 1 commit intoisce-framework:mainfrom
nemo794:copy_insar_statistics
Open

Update InSAR to copy statistics from input product#148
nemo794 wants to merge 1 commit intoisce-framework:mainfrom
nemo794:copy_insar_statistics

Conversation

@nemo794
Copy link
Collaborator

@nemo794 nemo794 commented Jan 5, 2026

This PR closes #123 .

Currently, for RSLC/GSLC/GCOV, the min/max/mean/std statistics are copied from the input Science Data HDF5 into the QA STATS HDF5. In contrast, these statistics for InSAR products are recomputed by QA and written into the QA STATS HDF5.

As noted in #123, ideally QA would handle these statistics consistently for all eight product types. Because it would be computationally expensive for QA to re-compute these for RSLC/GSLC/GCOV, and because per offline discussion in Dec 2025 there are some uncertainties about how the ISCE3 InSAR workflow will compute these metrics (and it'd be tricky for QA to maintain being in-sync with ISCE3 re: the method of computation), let's simply have QA copy the statistics for InSAR rasters as well.

tl'dr -- this PR updates QA to copy the ISCE3-computed InSAR statistics from the input Science HDF5s into the QA STATS HDF5s.

This PR was tested with all eight product types, with manual spot-checking that values were copied correctly for each raster.

@nemo794 nemo794 requested review from hfattahi and xhuang-jpl January 5, 2026 23:04
@nemo794 nemo794 requested a review from gmgunter as a code owner January 5, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compute and validate Non-InSAR and InSAR metrics consistently

1 participant