- changed status to duplicate
PRISMA data import error
Dear ENMAP developers
I'm trying to import a PRISMA L2D image into the ENMAP-QGIS plugin using Project > Add Product > Prisma L2D
but following you can find the error message I get
Thank you so much for your help
Giacomo
Traceback (most recent call last): File "/home/giacomo/.local/share/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 "/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/hubdsm/processing/importprismal2d.py", line 33, in processAlgorithm_ ds = importPrismaL2D( File "/home/giacomo/.local/share/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 "/home/giacomo/.local/share/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 "/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/hubdsm/processing/importprismal2d.py", line 33, in processAlgorithm_ ds = importPrismaL2D( File "/home/giacomo/.local/share/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 "/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/hubdsm/processing/enmapalgorithm.py", line 63, in processAlgorithm raise Exception('unexpected error') Exception: unexpected error
Comments (1)
-
- Log in to comment
Duplicate of
#611.