lgrcia / prose

Modular image processing pipelines with Python. Built for Astronomy.
https://prose.readthedocs.io
MIT License
52 stars 11 forks source link

An image discarded in AffineTransform makes xarray alignment fail #32

Closed lgrcia closed 2 years ago

lgrcia commented 3 years ago

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).

Possible solutions:

lgrcia commented 3 years ago

self note: example on 20180823 SSO/Io

lgrcia commented 2 years ago

Potentialy sovled by ea04530eb0c49fdf77405a5beb17a73d2d8afdc7