Fix #1589 by taking the central RA,Dec of the cube (used for regridding the user mask) from the correct obsinfo.json file.
I've also changed the name of the regridded mask FITS, such that it includes the name of the target. This avoids that the regridded mask is overwritten at every iteration when looping over N targets.
Fix #1589 by taking the central RA,Dec of the cube (used for regridding the user mask) from the correct
obsinfo.json
file.I've also changed the name of the regridded mask FITS, such that it includes the name of the target. This avoids that the regridded mask is overwritten at every iteration when looping over N targets.