-
Notifications
You must be signed in to change notification settings - Fork 32
RCAL-1118 Record aperture corrections in catalog headers #1911
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-1118 Record aperture corrections in catalog headers #1911
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1911 +/- ##
==========================================
+ Coverage 79.85% 79.94% +0.08%
==========================================
Files 137 137
Lines 8121 8161 +40
==========================================
+ Hits 6485 6524 +39
- Misses 1636 1637 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks good.
I forget how we propagate the is_extended results from the single band catalogs to the multiband catalogs; can you look at the impact there?
I would remove the fall-back code that exists if aperture reference files aren't available. I don't think we ever want to use the made-up value of 1.4, and should just error out in that case. Is the fall-back needed for testing or something? In which case, maybe we need to be able to provide a dummy spline in the testing, e.g. lambda x: 0?
|
If you want the fall back code removed should I add a kill condition to the step if we cannot find the reference file? |
|
I feel like we should handle this as any other missing reference file would be handled; I think that would probably just end with some long traceback? |
2857933 to
3debd73
Compare
…ile, save those fractions in the table metadata, and update the is_extended property to use the ee_fraction values
3debd73 to
b8a4b7a
Compare
|
Regression tests fail because now the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, thanks William.
…ile, save those fractions in the table metadata, and update the is_extended property to use the ee_fraction values
Resolves RCAL-1118
Closes #
This PR reads the
ee_fractionsfrom theapcorrreference file and then computes theee_fractionsused by the pipeline. These values are then stored in the header of thesource_catalogtable.Tasks
24Q4_B15(use the latest build if not sure)no-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see below for change types)docs/pageokify_regteststo update the truth filesnews fragment change types...
changes/<PR#>.general.rst: infrastructure or miscellaneous changechanges/<PR#>.docs.rstchanges/<PR#>.stpipe.rstchanges/<PR#>.associations.rstchanges/<PR#>.scripts.rstchanges/<PR#>.mosaic_pipeline.rstchanges/<PR#>.skycell.rststeps
changes/<PR#>.dq_init.rstchanges/<PR#>.saturation.rstchanges/<PR#>.refpix.rstchanges/<PR#>.linearity.rstchanges/<PR#>.dark_current.rstchanges/<PR#>.jump_detection.rstchanges/<PR#>.ramp_fitting.rstchanges/<PR#>.assign_wcs.rstchanges/<PR#>.flatfield.rstchanges/<PR#>.photom.rstchanges/<PR#>.flux.rstchanges/<PR#>.source_detection.rstchanges/<PR#>.tweakreg.rstchanges/<PR#>.skymatch.rstchanges/<PR#>.outlier_detection.rstchanges/<PR#>.resample.rstchanges/<PR#>.source_catalog.rst