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

HLA-1417: Validation check for WCS solutions from astrometry database #1958

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

s-goldman
Copy link
Collaborator

@s-goldman s-goldman commented Feb 25, 2025

Resolves HLA-1417

This PR adds a validation check to adopted WCS solution taken from the astrometry database. The check makes sure that the CRVAL1 and CRVAL2 values (reference pixel coordinates in degrees) have a separation less than a certain threshold; otherwise a warning is issued.

Our current working warning separation threshold is 1 degrees, but this should be refined.

Checklist for maintainers

  • added entry in CHANGELOG.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant label(s)

@s-goldman s-goldman added in progress Do Not Merge PR which should not be merged jirahub-ignore Avoid linking to Jira labels Feb 25, 2025
@s-goldman
Copy link
Collaborator Author

Code behavior verified using "fresh" datasets (jb2o04), altering the header target position (RA_TARG), and seeing the warning only for the altered dataset.

@s-goldman s-goldman added ready-for-final-review and removed Do Not Merge PR which should not be merged labels Feb 26, 2025
@s-goldman s-goldman marked this pull request as ready for review February 26, 2025 19:16
@s-goldman s-goldman requested review from mdlpstsci and a team as code owners February 26, 2025 19:16
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.

1 participant