Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_algorithms, pipe_tasks
-
Labels:None
-
Team:External
Description
This error is seen near the edge of the COSMOS tract. It used to write out a tiny corner of a coadd.
Traceback (most recent call last):
|
File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/ctrl_pool/14.0-1-ga2912ff+25/python/lsst/ctrl/pool/parallel.py", line 496, in logOperation |
yield
|
File "/home/hchiang2/stack/pipe_drivers/python/lsst/pipe/drivers/coaddDriver.py", line 316, in coadd |
detResults = self.detectCoaddSources.runDetection(coadd, idFactory, expId=expId)
|
File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_tasks/14.0-39-g03bf09b5+1/python/lsst/pipe/tasks/multiBand.py", line 303, in runDetection |
detections = self.detection.makeSourceCatalog(table, exposure, expId=expId)
|
File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/14.0-6-ge2c9487+33/python/lsst/pipe/base/timer.py", line 150, in wrapper |
res = func(self, *args, **keyArgs)
|
File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/meas_algorithms/14.0-10-g59393990+2/python/lsst/meas/algorithms/detection.py", line 292, in run |
clearMask=clearMask, expId=expId)
|
File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/meas_algorithms/14.0-10-g59393990+2/python/lsst/meas/algorithms/dynamicDetection.py", line 180, in detectFootprints |
factor = self.calculateThreshold(exposure, seed, sigma=sigma)
|
File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/meas_algorithms/14.0-10-g59393990+2/python/lsst/meas/algorithms/dynamicDetection.py", line 107, in calculateThreshold |
lq, uq = np.percentile(fluxes, [25.0, 75.0]) |
File "/software/lsstsw/stack3_20171023/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/lib/function_base.py", line 4269, in percentile |
interpolation=interpolation)
|
File "/software/lsstsw/stack3_20171023/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/lib/function_base.py", line 4011, in _ureduce |
r = func(a, **kwargs)
|
File "/software/lsstsw/stack3_20171023/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/lib/function_base.py", line 4386, in _percentile |
x1 = take(ap, indices_below, axis=axis) * weights_below
|
File "/software/lsstsw/stack3_20171023/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 134, in take |
return _wrapfunc(a, 'take', indices, axis=axis, out=out, mode=mode) |
File "/software/lsstsw/stack3_20171023/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 57, in _wrapfunc |
return getattr(obj, method)(*args, **kwds) |
IndexError: cannot do a non-empty take from an empty axes. |
The above error was with w_2018_04 plus a bug fix of
DM-13396.This can also be reproduced with w_2018_05
`