Update rscd model for new MIRI subarrays#758
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #758 +/- ##
=======================================
Coverage 90.66% 90.66%
=======================================
Files 99 99
Lines 4619 4619
=======================================
Hits 4188 4188
Misses 431 431 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I only see "FASTGRPAVG8" as an enum option in readpatt and preadpatt, but not subarray. Does it need to be added to the subarray enum list? will it actually be used as a subarray or only a read pattern? |
|
I think the subarray length increase is required to accommodate "SLITLESSPRISM_IPS". We should link our work to JP tickets - if one does not exist that's relevant for this PR, we should file one. I'll find the JP ticket for FASTGRPAVG8 support and link it. |
|
FASTGRPAVG8 is not a sub-array but a read pattern. |
|
thanks Jane and Tyler, the reason I asked is because it initially didn't seem necessary to update subarray if FASTGRPAVG8 is not a subarray. Makes sense about SLITLESSPRISM_IPS although it's a tiny bit concerning that this was added in a prior PR without updating the string length. I wonder if we need to have some way to test this |
|
I think it's rare for one of our datamodels to set explicit string length limits - I didn't realize one existed in this datamodel. It may not be worth the headache. EDIT: I'm just out of touch, this is typical for any string stored as part of a FITS table. My bad! |
|
@emolter I was thinking a change log was not needed - is one ? |
|
I'm fine without a changelog entry. Regtests would be good although there's very little chance anything goes wrong |
Is needed for https://jira.stsci.edu/browse/JWSTMIRI-506
In support of JP-4279
and JP-4144
This PR increases the
subarrayandreadpattstring length in the RSCD datamodels to accommodate the longer stringnames for the new MIRI subarrays (SLITLESSPRISM_IP, SLITLESSPRIM_IPS) and new readout pattern: FASTGRPAVE8.
This PR needs to be merged before the new RSCD reference file with the new subarray can be delivered to CRDS
Tasks
docs/pageno-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see below for change types)jwstregression tests with this branch installed ("git+https://github.com/<fork>/stdatamodels@<branch>")news fragment change types...
changes/<PR#>.feature.rst: new featurechanges/<PR#>.bugfix.rst: fixes an issuechanges/<PR#>.doc.rst: documentation changechanges/<PR#>.removal.rst: deprecation or removal of public APIchanges/<PR#>.misc.rst: infrastructure or miscellaneous change