- edited description
LMU PRW + VIT Error n read_image
Issue #1360
new
Occured with last 3.10. experimental version when using DESIS L2A raster
An error has occurred while executing Python code:
KeyError: 'lines'
Traceback (most recent call last):
File "C:\Users\Studi\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\lmuvegetationapps\PWR\PWR_GUI.py", line 95, in
self.gui.pushRun.clicked.connect(lambda: self.run_pwr())
File "C:\Users\Studi\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\lmuvegetationapps\PWR\PWR_GUI.py", line 213, in run_pwr
iPWR.initialize_PWR(input=self.image, output=self.out_path, lims=[930, 1060], NDVI_th=self.NDWI_th)
File "C:\Users\Studi\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\lmuvegetationapps\PWR\PWR_core.py", line 62, in initialize_PWR
self.read_image2(image=input)
File "C:\Users\Studi\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\apps\lmuvegetationapps\PWR\PWR_core.py", line 114, in read_image2
nrows = int(metadict['ENVI']['lines'])
KeyError: 'lines'
Comments (1)
-
reporter - Log in to comment