Hi all,
I know that normally detectCoaddSources.py is run as part of coaddDriver.py, but I need to run after emulating an external image and before running the multi band process.
The problem is that after running detectCoaddSources.py on a coadd, the mask in the resulting calexp image is gone (all set to 0), even for a coadd created by the pipeline itself. Here is how I run it:
detectCoaddSources.py $ROOTDIR --rerun=$RERUN --id tract=$TRACT patch=$PATCH filter=$FILTER