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-16731: Fix DcrCoadd missing mask planes #243

Merged
merged 3 commits into from Dec 8, 2018
Merged

Conversation

isullivan
Copy link
Contributor

The mask planes were being cleared in the call to findArtifacts, and in CompareWarpAssembleCoadd they would get added back in during stacking. In DcrAssembleCoadd, however, we want to use the full mask plane from the initial non-DCR coadd throughout, because the masked regions would otherwise grow with every iteration. The simple solution implemented here is to copy the mask plane of the initial coadd before findArtifacts is run, and use that as the mask.

Also, the initial coadd is now set to use CompareWarpAssembleCoadd.

Copy link
Contributor

@mrawls mrawls left a comment

Choose a reason for hiding this comment

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

This looks fine. Thanks for adding comments explaining why you explicitly set the baseMask, and for fixing the variance plane bug while you were at it.

@isullivan isullivan merged commit a7a81ad into master Dec 8, 2018
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

2 participants