- changed status to open
"Identify cursor location values" fails for NoData
After selecting the tool “Identify cursor location values” and trying to identify a pixel that is markes as “NoData” (Data Ignore Value set in ENVI Header), the EnMAP-Box crashes. This is the stacktrace:
File "…\enmapbox\externals\qps\cursorlocationvalue.py", line 360, in loadCursorLocation
self.reloadCursorLocation()
File "…\enmapbox\externals\qps\cursorlocationvalue.py", line 439, in reloadCursorLocation
bandValue = as_py_value(results[b], l.dataProvider().dataType(b))
File "…\enmapbox\externals\qps\utils.py", line 1166, in as_py_value
return int(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Comments (3)
-
-
-
assigned issue to
-
assigned issue to
-
- changed status to resolved
pulled qps updates TestObjects.createRasterDataset / TestObjects.createRasterLayer allows to add a no-data rectangle resolves
#479- "Identify cursor location values" fails for NoDataSigned-off-by: jakimowb benjamin.jakimow@geo.hu-berlin.de
→ <<cset 98b0bd57d906>>
- Log in to comment