-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JP-3451: Include zero-valued pixels in difference calculation #8038
JP-3451: Include zero-valued pixels in difference calculation #8038
Conversation
Starting a regression test run: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1027/ |
Codecov ReportAttention:
📢 Thoughts on this report? Let us know!. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea if this is a correct solution or not, but it seems to work. Needs a change log entry.
ebb77a1
to
8e20a56
Compare
Changelog update added; regression test shows failure with ~16% of pixels showing a difference. In reality it's 100% of science pixels, and it's expected because the updates here (with 1144) include an update to the photom ref file for SOSS that corrects a MJy -> Jy unit error, leading to ~1.e6 differences. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea if this is a correct solution or not, but it seems to work. Needs a change log entry.
@tapastro Is it OK to go ahead and merge this now, or are you waiting for updated reference files or anything like that? |
I believe this should work for the old (current) ref files, and was tested above to work with the context that was skipped, such that the team can re-deliver the updates. I can run the regtests again on the current newest context, which does not contain the updates. |
Re-run of regtests shows no failures: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1049/ |
Resolves JP-3451
Closes #8037
This PR addresses regression test errors for NIRISS SOSS after a recent delivery of updated reference files. This fix allows the difference calculation inside the bad dispersion direction method to see zero-valued pixels, which will allow it to overwrite them before throwing an error.
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR