caracal-pipeline / caracal

Containerized Automated Radio Astronomy Calibration (CARACal) pipeline
GNU General Public License v2.0
28 stars 6 forks source link

regrid channels for mask fails #1501

Closed Fil8 closed 1 year ago

Fil8 commented 1 year ago

When cleaning datacubes, the spectral regrid of the mask fails because it thinks that the mask of cycle-0 has different sizes.

This can occur because this line switches to True because of approximation issues when it should not: https://github.com/caracal-pipeline/caracal/blob/eb61f0236370c6933d0c87121f1d4172bb4ebbe8/caracal/workers/line_worker.py#L972

then Montage fails in regridding the mask.