-
Notifications
You must be signed in to change notification settings - Fork 28
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-895: allow updating source catalog with tweaked WCS when running ELP #1373
RCAL-895: allow updating source catalog with tweaked WCS when running ELP #1373
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1373 +/- ##
==========================================
+ Coverage 78.67% 78.71% +0.04%
==========================================
Files 117 117
Lines 7728 7738 +10
==========================================
+ Hits 6080 6091 +11
+ Misses 1648 1647 -1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…tweaked-astrometry
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 Mairan, looks, good, one comment inline.
…tweaked-astrometry
…tweaked-astrometry
…tweaked-astrometry
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
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 to me. And it looks like regtests were passing last week; I presume that's still the case?
Maybe just mentioning this aloud for the moment, I originally expected regtests to fail, since we should be changing the values of the catalog entries. But we don't do compare_asdf against the catalog files (reasoning that it's extra hard to guarantee they don't change), and so we don't expect this change to lead to regtest differences.
Yes, after fixing the "second okify issue" that you mentioned today in the standup meeting, the regtests for this PR are still passing: https://github.com/spacetelescope/RegressionTests/actions/runs/11034994349 |
… ELP (spacetelescope#1373) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Zach Burnett <zachary.r.burnett@gmail.com> Co-authored-by: Brett <brettgraham@gmail.com>
Resolves RCAL-895
This PR implements the update of the source catalog coordinates using the improved WCS calculated by
TweakRegStep
when processing data through the ELP.When running the ELP, at the end of the
TweakRegStep
, thecat
file produced bySourceCatalogStep
(containing all the sources coordinates) will be read in, updated with the new WCS function, and saved back to disk (overwriting the file content).Regression tests
All tests are passing: https://github.com/spacetelescope/RegressionTests/actions/runs/11034994349
Checklist
CHANGES.rst
under the corresponding subsection