I am using hscPipe v8.4
to perform difference imaging on a HSC dataset. If I supply the configuration option doMatchSources=True
to imageDifference.py
,
imageDifference.py $DIR --config convolveTemplate=False -C deepDiff_modify.py -c doWriteMatchedExp=True -c doMatchSources=True --calib $DIR/CALIB --rerun surhud --id visit=$visit ccd=$ccd filter=HSC-R2
it fails with an
AttributeError: lsst.meas.astrom.matchPessimisticB.MatchPessimisticBConfig has no attribute maxMatchDistArcSec
Traceback (most recent call last):
File "/mnt/home/faculty/csurhud/hscpipe/hscpipe/8.4/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_base/8.0-hsc+1/python/lsst/pipe/base/cmdLineTask.py", line 388, in __call_
_
result = self.runTask(task, dataRef, kwargs)
File "/mnt/home/faculty/csurhud/hscpipe/hscpipe/8.4/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_base/8.0-hsc+1/python/lsst/pipe/base/cmdLineTask.py", line 447, in runTask
return task.runDataRef(dataRef, **kwargs)
File "/mnt/home/faculty/csurhud/hscpipe/hscpipe/8.4/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_base/8.0-hsc+1/python/lsst/pipe/base/timer.py", line 150, in wrapper
res = func(self, *args, **keyArgs)
File "/mnt/home/faculty/csurhud/hscpipe/hscpipe/8.4/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_tasks/8.1-hsc/python/lsst/pipe/tasks/imageDifference.py", line 416, in run
DataRef
subtractedExposure=subtractedExposure)
File "/mnt/home/faculty/csurhud/hscpipe/hscpipe/8.4/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_tasks/8.1-hsc/python/lsst/pipe/tasks/imageDifference.py", line 839, in run
refAstromConfig.matcher.maxMatchDistArcSec = matchRadAsec
I could not find this attribute in the latest version of the AstrometryConfig
meas_astrom/astrometry.py at master · lsst/meas_astrom · GitHub either.