Closed esheldon closed 4 years ago
may want to deal with this in metadetect
This shouldn't happen for our sims. Can you plot some images for one or point me to a case where this happened?
what I saw was nan in the variance of the coadd, but I think this implies nan in the coadd or some other sentinel
with the rotations it is plausible there is no information in some part of the final coadd
Ahhhhh I forgot. So I make the SE observations sqrt(2) bigger than the coadd. This doesn't account for shear, but for realistic shear levels in the WCS, the central 300 pixels should always be covered. I think we should cut down to those. This is how I do my own sims.
I think we should leave in the possibility of such gaps because in real data they will exist.
I think the coadd code does something sensible with this, so probably it is downstream when we send the images to metacal that we need to be careful.
I checked, the image also gets nan
Do they set mask bits?
probably, I've not dealt at all with mask stuff yet
in #3 I am currently setting the image and noise image to zero where the variance is zero (turning nan to 0)
Might want to replace with noise
there can be cases where there are no exposures over part of the coadd
make sure that no nan or other sentinels are being sent to metacal