Hi,
Using hscPipe 8.3.0
, I am processing a coadd stack with a dataset covering 4 pointings of HSC fields (~7 deg2). However I encounter a error message of patch component not in range [0, 32)
. The experimentally test with only 3 pointings of HSC don’t show this error message. Is there a parameter to change default maximum patch number (or other solution for this error)?
Cheers,
Charles
comments:
makeDiscreteSkyMap.py $WORKDIR --rerun $RERUNFRAME:coadd_202010_add2 --id visit=$VISIT2PROC_ADD2 --config skyMap.projection="TAN"
jointcal.py $WORKDIR --rerun $RERUNFRAME:coadd_202010_add2 --id visit=$VISIT2PROC_ADD2 tract=0 | tee jointcal-r2-coadd_coadd_202010_add2.log &
coaddDriver.py $WORKDIR --rerun $RERUNFRAME:coadd_202010_add2 --id tract=0 filter=HSC-R2 --selectId visit=$VISIT2PROC_ADD2 ccd=0..103 --job coadd-r-tcoadd_202010_add2 --cores=$RCHP5 -c makeCoaddTempExp.doApplySkyCorr=False makeCoaddTempExp.doApplyExternalPhotoCalib=False --clobber-config
error messages:
46264 WARN 2020-10-30T15:53:23.649+0800 coaddDriver: ichiro.asiaa.sinica.edu.tw:46264: Caught RuntimeError while detection on DataId(initialdata={'tract': 0, 'filter': 'HSC-R2', 'patch': '19,33'}, tag=set()): patch component not in range [0, 32)
46264 INFO 2020-10-30T15:53:23.661+0800 coaddDriver: ichiro.asiaa.sinica.edu.tw:46264: Traceback:
Traceback (most recent call last):
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/ctrl_pool/8.0-hsc+1/python/lsst/ctrl/pool/parallel.py", line 514, in logOperation
yield
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_drivers/8.0-hsc+1/python/lsst/pipe/drivers/coaddDriver.py", line 322, in coadd
idFactory = self.detectCoaddSources.makeIdFactory(patchRef)
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/pipe_tasks/8.1-hsc/python/lsst/pipe/tasks/multiBandUtils.py", line 220, in makeIdFactory
expId = int(dataRef.get(self.config.coaddName + datasetName))
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/daf_persistence/8.0-hsc/python/lsst/daf/persistence/butlerSubset.py", line 203, in get
return self.butlerSubset.butler.get(datasetType, self.dataId, **rest)
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/daf_persistence/8.0-hsc/python/lsst/daf/persistence/butler.py", line 1374, in get
location = self._locate(datasetType, dataId, write=False)
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/daf_persistence/8.0-hsc/python/lsst/daf/persistence/butler.py", line 1322, in _locate
bypass = bypass()
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/daf_persistence/8.0-hsc/python/lsst/daf/persistence/butler.py", line 1350, in <lambda>
return lambda: bypassFunc(location.datasetType, pythonType, location, dataId)
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/obs_subaru/8.3-hsc/python/lsst/obs/hsc/hscMapper.py", line 268, in bypass_deepCoaddId
return self._computeCoaddExposureId(dataId, True)
File "/array/users/ytchen/hscPipe830_ichiro/stack/miniconda3-4.7.10-4d7b902/Linux64/obs_subaru/8.3-hsc/python/lsst/obs/hsc/hscMapper.py", line 257, in _computeCoaddExposureId
raise RuntimeError('patch component not in range [0, %d)' % 2**HscMapper._nbit_patch)
RuntimeError: patch component not in range [0, 32)