Details
-
Type:
Bug
-
Status: To Do
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: pipe_tasks
-
Labels:
-
Team:Alert Production
Description
Let's pretend you have many sets of decam full focal plane images which visit the same region of the sky. You would like to use BestSeeingWcsSelectImagesTask to select only 5 which have the best seeing, and make a coadd with them. So you configure nImagesMax=5, proceed to create warps and coadds... and get very sad when there are giant gaps of empty sky all over your coadds.
This appears to be happening because a decam dataId is an amalgamation of visit+ccdnum. So the image selector is naively choosing the 5 very best visit+ccdnum combinations to include in the warps, which will then be coadded.
This ticket is to fix the BestSeeingWcsSelectImagesTask (and perhaps the WcsSelectImagesTask too, if applicable) so it knows which dataIds actually overlap on the sky when making its selections.
It's worth noting this issue is a bit more subtle than this. Even if the selector was modified to function on a per-visit basis (rather than a per-visit+ccd basis), it would be constrained to HiTS-type surveys where each visit revisits (ha) the same exact region of sky. This will most often not be the case. There is a fundamental inconsistency with operating on patches vs. operating on visits that needs to be addressed to fully solve the problem.