-
Notifications
You must be signed in to change notification settings - Fork 174
Jp-3169 store aperture location in FITS header #8278
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-3169 store aperture location in FITS header #8278
Conversation
@hbushouse @tapastro |
8ccd322
to
b844100
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8278 +/- ##
===========================================
- Coverage 75.15% 53.12% -22.04%
===========================================
Files 470 389 -81
Lines 38604 38453 -151
===========================================
- Hits 29014 20427 -8587
- Misses 9590 18026 +8436
☔ View full report in Codecov by Sentry. |
Does the existing code populate the parameters that were already defined, for the extraction center in x and y? |
The extraction center is populated for IFU data. Which is the only mode that sets the extraction_x and extraction_y. |
@jemorrison We should probably update the extract_1d step docs to mention the fact that we're now storing the aperture limits in these new keywords. And check to see if the |
d46daba
to
3d87881
Compare
regression tests running: |
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.
Needs updates to the docs.
All of our other existing keywords that record either subarray or 2-D cutout start/stop limits use values that are 1-indexed (in keeping with FITS conventions). Are these values 1-indexed or 0-indexed? I think they should be 1-indexed for consistency with all the other similar keywords. |
3d87881
to
644415e
Compare
running regression tests again: |
The regression tests seem ok to me. I added 1 to the extraction region and I added some information on the extraction region to the docs. |
Latest regression test results look good, except for 1 hard error: Looks like an instance where |
bbc34f0
to
745c077
Compare
@jemorrison Has there been another regtest run that fixes the hard error encountered in 1266? |
https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1283/ |
I see a lot of errors due to the removal of "product_exposure_time" from our datamodel schemas in one of the latest updates to stdatamodels. It's also been removed from use in the "resample" step code modules, so perhaps just rebasing your PR branch - to pull in those updates to resample - will fix it. There were also some NIRSpec ref file updates late last week that cause lots of expected failures in NIRSpec tests, but those truth files have all been updated now, so another run at this time should make those go away. |
2f0a8a1
to
8b4417b
Compare
Running regression test: 1299 |
8b4417b
to
fe8020e
Compare
@tapastro @hbushouse I think this one is done. I do not really understand the last 4 tests. They fail but I don't think it is related to this PR |
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.
I agree that the last regtest run looks good.
Resolves JP-3169
Closes #7773
This PR addresses adds aperture locations for valid values of xstart, xstop, ystart and ystop to the FITS header
This PR needs spacetelescope/stdatamodels#264 to be merged to work
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR
https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1299/