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

Rcal 738 Process data with at least 16 resultants (SOC-1069 & SOC-1070) #1059

Merged
merged 26 commits into from
Jan 12, 2024

Conversation

ddavis-stsci
Copy link
Collaborator

Resolves RCAL-738
Resolves RCAL-740

Closes #1047 #1048

This PR adds tests for processing data with 16 resultants for imaging a spectral data.
For imaging

INFO     stpipe.ExposurePipeline.tweakreg:log_config.py:142 TweakRegStep instance created.
2024-01-10 14:29:37,642 - stpipe.ExposurePipeline - INFO - DMS413 MSG: Testing that result is a Level 2 model.......Pass
INFO     stpipe.ExposurePipeline:log_config.py:142 DMS413 MSG: Testing that result is a Level 2 model.......Pass
2024-01-10 14:29:37,642 - stpipe.ExposurePipeline - INFO - DMS413 MSG: Testing that there are 16 resultants in the input file.......Pass
INFO     stpipe.ExposurePipeline:log_config.py:142 DMS413 MSG: Testing that there are 16 resultants in the input file.......Pass
2024-01-10 14:29:37,642 - stpipe.ExposurePipeline - INFO - DMS413 MSG: Testing that there are 16 resultants listed in the output file.......Pass
INFO     stpipe.ExposurePipeline:log_config.py:142 DMS413 MSG: Testing that there are 16 resultants listed in the output file.......Pass
2024-01-10 14:29:37,642 - stpipe - INFO - METRIC - DMS413 - test_16resultants_image_processing - PASS
INFO     stpipe:log_config.py:142 METRIC - DMS413 - test_16resultants_image_processing - PASS
INFO     stpipe:log_config.py:142 METRIC - DMS413 - test_16resultants_image_processing - PASS
PASSED

For the spectral data

INFO     stpipe.ExposurePipeline:log_config.py:142 DMS414 MSG: Testing that result is a Level 2 model.......Pass
2024-01-10 14:42:42,594 - stpipe.ExposurePipeline - INFO - DMS414 MSG: Testing that there are 16 resultants in the input file.......Pass
INFO     stpipe.ExposurePipeline:log_config.py:142 DMS414 MSG: Testing that there are 16 resultants in the input file.......Pass
2024-01-10 14:42:42,594 - stpipe.ExposurePipeline - INFO - DMS414 MSG: Testing that there are 16 resultants listed in the output file.......Pass
INFO     stpipe.ExposurePipeline:log_config.py:142 DMS414 MSG: Testing that there are 16 resultants listed in the output file.......Pass
2024-01-10 14:42:42,594 - stpipe - INFO - METRIC - DMS414 - test_16resultants_spectral_processing - PASS
INFO     stpipe:log_config.py:142 METRIC - DMS414 - test_16resultants_spectral_processing - PASS
INFO     stpipe:log_config.py:142 METRIC - DMS414 - test_16resultants_spectral_processing - PASS

Checklist

ddavis-stsci and others added 22 commits December 20, 2023 07:39
Co-authored-by: Eddie Schlafly <[email protected]>
Co-authored-by: Eddie Schlafly <[email protected]>
…pacetelescope#1055)

Co-authored-by: Eddie Schlafly <[email protected]>
Co-authored-by: Zach Burnett <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Eddie Schlafly <[email protected]>
…pacetelescope#1055)

Co-authored-by: Eddie Schlafly <[email protected]>
Co-authored-by: Zach Burnett <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@ddavis-stsci ddavis-stsci added this to the 24Q2_B13 milestone Jan 11, 2024
@ddavis-stsci ddavis-stsci self-assigned this Jan 11, 2024
@ddavis-stsci ddavis-stsci requested a review from a team as a code owner January 11, 2024 12:51
@github-actions github-actions bot added documentation Improvements or additions to documentation Dark Current Photom labels Jan 11, 2024
Copy link
Collaborator

@schlafly schlafly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. One question: in principle we could ask RTB to put one of these files into CRDS, and we could make our default files use them. The we could just add additional logging to the existing tests rather than create new ones, and we wouldn't be dependent on another set of separately created files. Is that direction worth pursuing?

@ddavis-stsci
Copy link
Collaborator Author

ddavis-stsci commented Jan 11, 2024 via email

@github-actions github-actions bot removed the pipeline label Jan 11, 2024
Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.72%. Comparing base (abb48b2) to head (4340fbe).
Report is 467 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1059   +/-   ##
=======================================
  Coverage   76.72%   76.72%           
=======================================
  Files         105      105           
  Lines        7015     7015           
=======================================
  Hits         5382     5382           
  Misses       1633     1633           
Flag Coverage Δ *Carryforward flag
nightly 63.02% <ø> (ø) Carriedforward from 531ccc3

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ddavis-stsci ddavis-stsci merged commit 47c3973 into spacetelescope:main Jan 12, 2024
28 checks passed
stscieisenhamer pushed a commit to stscieisenhamer/romancal that referenced this pull request Jan 19, 2024
…0) (spacetelescope#1059)

Co-authored-by: Eddie Schlafly <[email protected]>
Co-authored-by: Zach Burnett <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

Write a test for 16 resultants (Imaging)
3 participants