Skip to content
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-2005: Update NIS WFSS ASN rules for matching filter #5896

Merged
merged 2 commits into from
Mar 19, 2021

Conversation

hbushouse
Copy link
Collaborator

@hbushouse hbushouse commented Mar 18, 2021

Closes #5893

Resolves JP-2005

Description

This PR fixes the problem of having NIRISS WFSS grism exposure spec2 ASN's associate a direct image that uses a different filter than the grism image. The level-2b WFSS ASN rule has been updated to make sure the associated direct image has the same PUPIL value as the grism image, in the same way the NIRCam WFSS images must have the same channel value.

Finally managed (with much effort) to get new truth files for association regtests loaded into place properly in artifactory. When looking for WFSS-related parts of association docs to update I noticed the use of the DMS-specific "level" terminology, which I changed to the public-facing "stage" terminology. So this is all ready to go now.

Checklist

  • Tests
  • Documentation
  • Change log
  • Milestone
  • Label(s)

@codecov
Copy link

codecov bot commented Mar 18, 2021

Codecov Report

Merging #5896 (31189d3) into master (dbe28ff) will increase coverage by 0.02%.
The diff coverage is 85.71%.

❗ Current head 31189d3 differs from pull request most recent head dd4d487. Consider uploading reports for the commit dd4d487 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5896      +/-   ##
==========================================
+ Coverage   77.83%   77.86%   +0.02%     
==========================================
  Files         401      401              
  Lines       35285    35339      +54     
==========================================
+ Hits        27465    27516      +51     
- Misses       7820     7823       +3     
Flag Coverage Δ *Carryforward flag
nightly 77.84% <75.00%> (ø) Carriedforward from dbe28ff
unit 56.06% <66.66%> (+0.02%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
jwst/associations/lib/rules_level2b.py 96.96% <85.71%> (-0.78%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbe28ff...dd4d487. Read the comment docs.

@hbushouse hbushouse requested review from stscieisenhamer, tapastro and jdavies-st and removed request for tapastro March 19, 2021 12:10
@hbushouse hbushouse merged commit 73f1b69 into spacetelescope:master Mar 19, 2021
@hbushouse hbushouse deleted the jp2005_wfss_asn_rules branch March 19, 2021 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update NIRISS WFSS ASN rules to constrain PUPIL value between grism and direct exposures
2 participants