Error when loading he5 file using Add Prisma2D data

Issue #692 resolved
Former user created an issue

QGIS version: 3.18.3-Zürich QGIS code revision: 735cc85be9 Qt version: 5.11.2 GDAL version: 3.1.4 GEOS version: 3.8.1-CAPI-1.13.3 PROJ version: Rel. 6.3.2, May 1st, 2020 Processing algorithm… Algorithm 'Import PRISMA L2D Product' starting… Input parameters:

Traceback (most recent call last): File "C:/Users/usher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages\hubdsm\processing\enmapalgorithm.py", line 54, in processAlgorithm result = self.processAlgorithm_(parameters=parameters, context=context, feedback=feedback) File "C:/Users/usher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages\hubdsm\processing\importprismal2d.py", line 35, in processAlgorithm_ filenameSpectral=self.parameter(parameters, self.P_OUTRASTER, context), File "C:/Users/usher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages\hubdsm\algorithm\importprismal2d.py", line 19, in importPrismaL2D assert isPrismaL2DProduct(filenameHe5=filenameHe5) AssertionError

Traceback (most recent call last): File "C:/Users/usher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages\hubdsm\processing\enmapalgorithm.py", line 54, in processAlgorithm result = self.processAlgorithm_(parameters=parameters, context=context, feedback=feedback) File "C:/Users/usher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages\hubdsm\processing\importprismal2d.py", line 35, in processAlgorithm_ filenameSpectral=self.parameter(parameters, self.P_OUTRASTER, context), File "C:/Users/usher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages\hubdsm\algorithm\importprismal2d.py", line 19, in importPrismaL2D assert isPrismaL2DProduct(filenameHe5=filenameHe5) AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:/Users/usher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages\hubdsm\processing\enmapalgorithm.py", line 64, in processAlgorithm raise Exception('unexpected error') Exception: unexpected error

Execution failed after 0.06 seconds

Loading resulting layers Algorithm 'Import PRISMA L2D Product' finished

Comments (4)

  1. Andreas Janz

    What is the filename of the *.he5 file you tried to open? The error indicates, that you are trying to open a product with level different than L2D.

    Filename should look something like this:
    PRS_L2D_STD_20210301145150_20210301145154_0001.he5

  2. Log in to comment