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

Correctly fix the wcs preferential order REL > IMG, GAIA*3 > GAIA[2|1] #1645

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

mdlpstsci
Copy link
Collaborator

Enforce the chosen order for the WCS preferential solution for all exposures in a dataset. REL is better than IMG, and GAIA*3 is better than GAIA 2 or GAIA1.

@mdlpstsci mdlpstsci added bug jirahub-ignore Avoid linking to Jira labels Aug 15, 2023
@mdlpstsci mdlpstsci self-assigned this Aug 15, 2023
@mdlpstsci mdlpstsci requested a review from a team as a code owner August 15, 2023 12:30
@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (7fe0212) 32.40% compared to head (94ce39d) 32.40%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1645   +/-   ##
=======================================
  Coverage   32.40%   32.40%           
=======================================
  Files         159      159           
  Lines       35049    35049           
=======================================
  Hits        11358    11358           
  Misses      23691    23691           
Files Changed Coverage Δ
drizzlepac/runastrodriz.py 41.95% <100.00%> (ø)

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

@@ -187,8 +187,8 @@
envvar_reset_idctab_name = "PIPELINE_RESET_IDCTAB"

# Order of preference for common WCS solutions - brute force choice of the GAIA catalog preference
wcs_preference = ['IDC_?????????-FIT_REL_GAIA*3', 'IDC_?????????-FIT_REL_GAIADR2', 'IDC_?????????-FIT_REL_GAIADR1',
'IDC_?????????-FIT_IMG_GAIA*3', 'IDC_?????????-FIT_IMG_GAIADR2', 'IDC_?????????-FIT_IMG_GAIADR1',
wcs_preference = ['IDC_?????????-FIT_REL_GAIA*3', 'IDC_?????????-FIT_IMG_GAIA*3', 'IDC_?????????-FIT_REL_GAIADR2',
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be useful to add a sentence describing the order, like what you wrote in the comment:
Enforce the chosen order for the WCS preferential solution for all exposures in a dataset. REL is better than IMG, and GAIA*3 is better than GAIA 2 or GAIA1.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Address in commit 94ce39d.

@mdlpstsci mdlpstsci merged commit 453aabf into spacetelescope:master Aug 15, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug jirahub-ignore Avoid linking to Jira
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants