-
assigned issue to
Bug on opening PRISMA data
Hello,
I am trying to open a PRISMA image on the app, but it gave me this error:
Traceback (most recent call last): File "C:\Users/fninc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\hubdsm\processing\enmapalgorithm.py", line 53, in processAlgorithm result = self.processAlgorithm_(parameters=parameters, context=context, feedback=feedback) File "C:\Users/fninc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\hubdsm\processing\importprismal2d.py", line 33, in processAlgorithm_ ds = importPrismaL2D( File "C:\Users/fninc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\hubdsm\algorithm\importprismal2d.py", line 37, in importPrismaL2D arrayVnir = offsetVnir + np.transpose(gdal.Open(filenameVnir).ReadAsArray(), [1, 0, 2])[selectedVnir][::-1] * gainVnir IndexError: boolean index did not match indexed array along dimension 0; dimension is 66 but corresponding boolean dimension is 67
Traceback (most recent call last): File "C:\Users/fninc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\hubdsm\processing\enmapalgorithm.py", line 53, in processAlgorithm result = self.processAlgorithm_(parameters=parameters, context=context, feedback=feedback) File "C:\Users/fninc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\hubdsm\processing\importprismal2d.py", line 33, in processAlgorithm_ ds = importPrismaL2D( File "C:\Users/fninc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\hubdsm\algorithm\importprismal2d.py", line 37, in importPrismaL2D arrayVnir = offsetVnir + np.transpose(gdal.Open(filenameVnir).ReadAsArray(), [1, 0, 2])[selectedVnir][::-1] * gainVnir IndexError: boolean index did not match indexed array along dimension 0; dimension is 66 but corresponding boolean dimension is 67
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users/fninc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\hubdsm\processing\enmapalgorithm.py", line 63, in processAlgorithm raise Exception('unexpected error') Exception: unexpected error
Execution failed after 0.74 segundos
I am not sure, but I guess it has something to do with the array dimention. This image is from July 2º, so I am not sure if they had changed some parameters of the data.
Thank you so much
Comments (2)
-
-
- changed status to resolved
already fixed in (experimental) v3.8
- Log in to comment