Skip to content

Update nisar-py regression test for nisar-py v0.4.0#290

Merged
flamingbear merged 2 commits into
nasa:mainfrom
asjohnston-asf:nisar-py-0.4.0
May 26, 2026
Merged

Update nisar-py regression test for nisar-py v0.4.0#290
flamingbear merged 2 commits into
nasa:mainfrom
asjohnston-asf:nisar-py-0.4.0

Conversation

@asjohnston-asf

@asjohnston-asf asjohnston-asf commented May 22, 2026

Copy link
Copy Markdown
Contributor

Description

nisar-py v0.4.0 now applies a valid data mask so that that invalid and partially focused pixels are set to NoData in the output imagery. This results in needing to update the md5sums for the majority of output .png files.

For those interested in comparing the expected output, these harmony UAT jobs were run using nisar-py v0.4.0:

982c6e4e-e0b3-443a-bb63-740f06c010f4
81ffe933-7a30-46de-8764-ef2cf600f6cd
2611d7e2-2f17-45a5-bca8-79db8ec25ef4
8638b74b-33a0-4536-99dc-c8ad93676ed8
255244e9-80b7-4f0f-a687-ae9eb04502a0

And these harmony UAT jobs were run using the previous nisar-py v0.3.0:

ed96619a-9871-4b61-b27f-55aa5399f328
10058a9f-30e4-4d6d-9feb-e7fea9864614
47044c64-c587-4c8e-bafd-447a0ed7d7ad
4fe81dc9-2e8d-410d-9675-79dc3038bb41
35eb36d9-63cb-4e2b-834a-a1ca68eb1fa3

Jira Issue ID

Local Test Steps

PR Acceptance Checklist

  • Acceptance criteria met
  • Tests added/updated (if needed) and passing
  • Documentation updated (if needed)
  • CHANGELOG updated with the changes for this PR
  • Service's version.txt file changed if appropriate
  • Original file is uploaded to S3 if references are changed

@flamingbear flamingbear left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I was able to verify the old image against SIT at 0.3.0, and this branch against UAT with nisar-py 0.4.0.

❯ ./run_notebooks.sh nisar-py

Running regression tests
Using https://harmony.uat.earthdata.nasa.gov

Test suite nisar-py starting
running test with ghcr.io/nasa/regression-tests-nisar-py:latest
Waiting for nisar-py.
Input Notebook:  nisar-py/nisar-py_Regression.ipynb
Output Notebook: /workdir/output/nisar-py/Results.ipynb
Working directory: nisar-py
Executing:   0%|          | 0/4 [00:00<?, ?cell/s]Executing notebook with kernel: python3
Executing: 100%|██████████| 4/4 [16:02<00:00, 240.70s/cell]

Test suite nisar-py succeeded
Tests completed (passed)

@flamingbear flamingbear changed the title update nisar-py regression test for nisar-py v0.4.0 Update nisar-py regression test for nisar-py v0.4.0 May 26, 2026
@flamingbear flamingbear merged commit c81b083 into nasa:main May 26, 2026
1 check passed
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.

2 participants