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

RAD-149: Split cal_step into L2 & L3 #397

Merged
merged 4 commits into from
Mar 29, 2024

Conversation

PaulHuwe
Copy link
Collaborator

@PaulHuwe PaulHuwe commented Mar 27, 2024

Resolves RAD-149

Closes #363

This PR splits the cal_step schema into L2 and L3 versions.

Checklist

Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.38%. Comparing base (0fb1239) to head (879d591).
Report is 12 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #397   +/-   ##
=======================================
  Coverage   95.38%   95.38%           
=======================================
  Files           4        4           
  Lines         195      195           
=======================================
  Hits          186      186           
  Misses          9        9           

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

@PaulHuwe
Copy link
Collaborator Author

PaulHuwe commented Mar 27, 2024

NOTE: these changes require updates to romancal regression test files as shown in the Jenkins URL.

@PaulHuwe PaulHuwe marked this pull request as ready for review March 27, 2024 15:50
@PaulHuwe PaulHuwe requested review from kdupriestsci, jbrookens and a team as code owners March 27, 2024 15:50
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_resample, GuideWindow.s_resample, WFICommon.s_resample]
propertyOrder: [outlier_detection, skymatch, resample]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we also add the flux step to the l3 cal_steps?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, will be sure to merge the flux tickets first then do that. Should it only be in L3, or in both?

Copy link
Collaborator

Choose a reason for hiding this comment

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

It is the first step in the l3 pipeline, so i think it should only be in the l3 headers.

Copy link
Collaborator

Choose a reason for hiding this comment

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

flux is like outlier detection & sky matching in that it's done on L2 "intermediate" images, so we'd be marking it done on the L2 image models and then propagating that into the L3 image. i.e., it goes into the L2 and L3 cal_step dictionary.

@PaulHuwe PaulHuwe merged commit d869ddc into spacetelescope:main Mar 29, 2024
13 checks passed
@nden nden added this to the Build 14 milestone Mar 29, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought that in Roman all of the r_ and s_ fields went in ScienceRefData and GuideWindow. Why are the 3 fields in this file going in WFIMosaic?

Also, will these fields appear in any of the RITA files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split cal_step into L2 & L3
5 participants