-
Notifications
You must be signed in to change notification settings - Fork 174
JP-3505: Update ASN rules for NRS MOS compromise dither patterns #8184
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
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #8184 +/- ##
==========================================
- Coverage 77.37% 75.26% -2.11%
==========================================
Files 451 470 +19
Lines 35289 38430 +3141
==========================================
+ Hits 27304 28924 +1620
- Misses 7985 9506 +1521
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Regression test run started at https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1135 |
1 regression test failure was due to an unrelated unclosed file error. Succeeds when run locally on my PR branch. |
The unit test that I added uses an example pool file taken directly from one observation in program 2640, consisting of an exposure sequence with 3 primary nods, 3 subpixel dithers at each nod, and using both NRS detectors. So a total of 18 DMS exposures, where each "spec2" asn file that gets created has one of the 18 exposures treated as "science", and the 6 exposures from other nod positions (2 nods x 3 subpix dithers) as "background" members. |
Resolves JP-3505
Closes #8183
This PR updates the level-2 ASN rules to accommodate NIRSpec MOS dither patterns that include sub-pixel dithering, so that only exposures from other nod positions get designated as "background" members in spec2 ASN files. This mechanism was already in place for NIRSpec fixed-slit (FS) observations that use both primary nods and sub-pixel dithers, so it just needed to be extended to also include MSA observations.
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR