askap-craco / CELEBI

The CRAFT Effortless Localisation and Enhanced Burst Inspection Pipeline
MIT License
4 stars 2 forks source link

Expecting field flagfile when using separate image #440

Closed marcinglowacki closed 1 year ago

marcinglowacki commented 1 year ago

In cases where a deeper field image was available, the calibration part of the pipeline expected a flag file for the field to exist when it is not needed at all (as the external image is expected to already have been calibrated and flagged).

_[mglowack@farnarkle1 processing]$ tail -f frb210912.out Command wrapper: You now need to write the flagfile for FRB210912_deeperfieldimage.fits and provide it with --fieldflagfile!

Work dir: /fred/oz002/askap/craft/craco/processing/work/210912/ab/c443d3eb1ce70877daca1277ea284e

Tip: view the complete command output by changing to the process work dir and entering the command cat .command.out_

This was fixed with a change to the logic of the flagging routine, and now will no longer expect a flag file if a deeper field image path is provided in the run/config file.