In pipeline.Calibration, if an image is discarded by blocks.AffineTransform it is not retained in the final blocks.Xarray but is still saved reduced (blocks.SaveReduced appears before). Hence the pipeline.Photometry will fail (taking from the calibration xarray which has less images than the number reduced ones).
In
pipeline.Calibration
, if an image is discarded byblocks.AffineTransform
it is not retained in the finalblocks.Xarray
but is still saved reduced (blocks.SaveReduced
appears before). Hence thepipeline.Photometry
will fail (taking from the calibration xarray which has less images than the number reduced ones).Possible solutions: