Details
-
Type:
Bug
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ip_isr
-
Labels:None
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
Merlin Fisher-Levine reported today that the RubinTV processing was claiming N>0 pixels were marked as BAD, despite that processing not applying defects (or much other ISR steps beyond overscan). When I ran the example attached on the RSP, I found a similar result, with lsst.isr INFO: Set 9598 BAD pixels to 245.000000. appearing in the log.
Running the same code in the terminal with a pdb breakpoint resulted in no masked pixels, even when I switched versions from the w.2023.16 build to the older version running at the RSP (g8db5811388+2736d543e7 from mid-February it seems). Without defects, I think the only code that sets BAD masks is in updateVariance, which sets that when the image is negative (which shouldn't be the case with this minimal ISR processing).
I cannot replicate on the RSP with w_2023_16 or on sdfrome001. Or rather, I get the following which I think is fine?
In [6]: import numpy as np
In [7]: np.where(exp.mask.array > 0)
Out[7]: (array([], dtype=int64), array([], dtype=int64))