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

Change default blot stepsize to use WCS transform #248

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

gbrammer
Copy link
Owner

@gbrammer gbrammer commented Oct 5, 2024

The WCS mapping in grizli.utils.blot_nearest_exact using astdrodrizzle.cdriz.DefaultWCSMapping seems to cause slight errors in the pixel transformations, so set the default stepsize=-1 in various places to fall back to the nominal WCS transformation out_wcs.all_pix2world > in_wcs.all_world2pix.

The most notable place where the issue affects the output was in grizli.prep.subtract_visit_angle_averages, where the blotted angle averages didn't line up correctly.

@gbrammer gbrammer merged commit 4945390 into master Oct 5, 2024
17 checks passed
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.

1 participant