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

Remove interpolation from stamp generation #390

Merged
merged 3 commits into from
Nov 3, 2023
Merged

Remove interpolation from stamp generation #390

merged 3 commits into from
Nov 3, 2023

Conversation

jeremykubica
Copy link
Contributor

The only time interpolation was used in stamp generation is when creating the stamps for visualization. This changes the behavior to return the actual pixel values of the stamp (instead of interpolated), so the user is looking at a cutout of the image.

This PR also adds a bunch of stamp tests, which uncovered a small bug with the new implementation of create_stamps (only overwriting NO_DATA values on the margin). This fixes that behavior as well.

Copy link
Collaborator

@wilsonbb wilsonbb left a comment

Choose a reason for hiding this comment

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

Looks good!

@jeremykubica jeremykubica merged commit 6b5c1ea into main Nov 3, 2023
2 checks passed
@jeremykubica jeremykubica deleted the cleanups branch November 3, 2023 17:59
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.

2 participants