-
assigned issue to
error in QPS package
Issue #704
resolved
raceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1175, in <lambda>
lambda crs, pt, c=canvas: self.setCurrentLocation(SpatialPoint(crs, pt), canvas)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1608, in setCurrentLocation
self.loadCurrentMapSpectra(spatialPoint, mapCanvas)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1225, in loadCurrentMapSpectra
panel.loadCurrentMapSpectra(spatialPoint, mapCanvas=mapCanvas, runAsync=runAsync)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\speclib\gui\spectralprofilesources.py", line 1973, in loadCurrentMapSpectra
return self.mBridge.loadProfiles(spatialPoint, mapCanvas=mapCanvas, runAsync=runAsync)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\externals\qps\speclib\gui\spectralprofilesources.py", line 1355, in loadProfiles
band_mask = band_mask | array[b, :, :] == no_data
TypeError: ufunc 'bitwise_or' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
This can be fixed by using correct parenthesis:
Comments (2)
-
reporter -
- changed status to resolved
updates QPS resolves
#704(please test)→ <<cset 3c19b62e52dd>>
- Log in to comment