Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw, coadd_utils, obs_lsstSim
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Science Pipelines DM-W16-2
-
Team:Alert Production
Description
The function imagesDiffer() in testUtils attempts to OR an array of unit16s (LHS) against an array of bools(RHS) valSkipMaskArr |= skipMaskArr and errors with message
TypeError: ufunc 'bitwise_or' output (typecode 'H') could not be coerced to provided output parameter (typecode '?') according to the casting rule ''same_kind''
|
preventing afw from building correctly.
I merged afw and coadd_utils, but we are also seeing the same problem in obs_lsstSim tests/testLsstSimIsrTask.py:
File "/Users/rowen/LSST/lsstsw/build/obs_lsstSim/python/lsst/obs/lsstSim/lsstSimIsrTask.py", line 81, in saturationInterpolation
self.unmaskSatHotPixels(ccdExposure)
File "/Users/rowen/LSST/lsstsw/build/obs_lsstSim/python/lsst/obs/lsstSim/lsstSimIsrTask.py", line 70, in unmaskSatHotPixels
maskarr[idx] &= andMask
TypeError: ufunc 'bitwise_and' output (typecode 'i') could not be coerced to provided output parameter (typecode 'H') according to the casting rule ''same_kind''