The newest tagged stack compatible with meas_mosaic without version mismatch is w_2017_10. Stacks newer than that have pybind11 work merged; meas_mosaic is not wrapped by pybind11 but it will be retired soon.
With w_2017_10 I was able to run MosaicTask (mosaic.py) on some HSC COSMOS data from DM-9053.
inputs and outputs
- mosaic.py MosaicTask
inputs: skymap, calexp, src, srcMatch, and refcat (astrometry_net_data)
outputs: wcs, fcr
- calibrateExposure.py CalibrateExposureTask
inputs: calexp, wcs, fcr
outputs: calibrated_exp
- calibrateCatalog.py CalibrateCatalogTask
inputs: calexp, wcs, fcr
outputs: calibrated_src
- checkMosaic.py CheckMosaicTask
inputs: calexp, wcs, fcr, src, icSrc, icMatch
Likely only the MosaicTask is needed. For MosaicTask, each tract can be processed independently. It uses meas.base.forcedPhotCcd.PerTractCcdDataIdContainer and internally use multiprocessing with command line argument numCoresForReadSource.
Note: meas_mosaic was then wrapped in
DM-9887