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

DM-21237: Add bbox check before constructing dcrModel. #142

Merged
merged 1 commit into from Jan 3, 2020

Conversation

isullivan
Copy link
Contributor

The coadd patch contains a large buffer of pixels on all sides, and the dcrModel requires that a small number of those get clipped to prevent artifacts at patch boundaries. This adds a check before trying to build the dcrModel to skip a patch if there will not be enough pixels remaining to build a model. In that case, the patch should be skipped in any case, since any valid data would be contained in neighboring patches anyway.

The coadd patch contains a large buffer of pixels on all sides, and the dcrModel requires that a small number of those get clipped to prevent artifacts at patch boundaries. This adds a check before trying to build the dcrModel to skip a patch if there will not be enough pixels remaining to build a model. In that case, the patch should be skipped in any case, since any valid data would be contained in neighboring patches anyway.
@isullivan isullivan merged commit ad373c5 into master Jan 3, 2020
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.

None yet

1 participant