JP-4316: Update _contam and _simul_slits files with slit metadata#10509
JP-4316: Update _contam and _simul_slits files with slit metadata#10509emolter wants to merge 7 commits into
Conversation
|
https://github.com/spacetelescope/RegressionTests/actions/runs/25340464436 WFSS changes look as expected. All new keywords have been propagated into the slits, with the exception of the BUNIT keyword. The BUNIT keyword is not set because the regtests start with a Looks like DHS modes also get a BUNIT keyword here, which I didn't initially expect but makes sense, and I think it's an improvement. The diff in Regtests need to be rerun from a new job for okify. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10509 +/- ##
=======================================
Coverage 86.38% 86.38%
=======================================
Files 373 373
Lines 40068 40070 +2
=======================================
+ Hits 34614 34616 +2
Misses 5454 5454 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
melanieclarke
left a comment
There was a problem hiding this comment.
This looks reasonable to me, although I see a few additional WCS keywords in the regression tests:
Extra keyword 'DISPAXIS' in a: 1
Extra keyword 'RADESYS' in a: 'ICRS'
Extra keyword 'SPECSYS' in a: 'BARYCENT'
I assume they're riding along from the wcsinfo in the slit they're updated from. I don't think they should do any harm, but they weren't requested. Should we remove them to reduce clutter or leave them?
|
I left them there on purpose. In the end, after all that discussion, it seemed to me the experts wanted all available slit metadata in both optional products. We didn't explicitly discuss those, but as you say they do no harm and seemed in-line with the other comments I got on the ticket. I don't think I'd consider it clutter personally. |
melanieclarke
left a comment
There was a problem hiding this comment.
Looks good, thanks!
The regtests will need to be run again for a clean okify, but I'll approve now and leave that to you.
Resolves JP-4316
This PR:
_contamand_simul_slitsproducts with metadata from the corresponding observed slit_simul_slitsfileslit.bunit_datawas being assigned instead of the schema-definedslit.meta.bunit_datafor grism products, leading to missing BUNIT in the fits SCI extensionTasks
Build 12.0(use the latest build if not sure)no-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see changelog readme for instructions)changes/<PR#>.breaking.rstnews fragmentdocs/pageokify_regteststo update the truth files