error when opening/dropping a PRISMA L1 HDF5 file into the EnMAP-Box (QGIS can open it without a problem)

Issue #694 resolved
Andreas Janz created an issue

Traceback (most recent call last):
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\dockmanager.py", line 1258, in <lambda>
    dockArea.sigDropEvent.connect(lambda event: self.onDockAreaDragDropEvent(dockArea, event))
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\dockmanager.py", line 1294, in onDockAreaDragDropEvent
    layers = extractMapLayers(mimeData)
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\mimedata.py", line 235, in extractMapLayers
    dataSources = DataSourceFactory.create(url)
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\datasources.py", line 1027, in create
    sources = sourceTestFunction(src, name=name, icon=icon)
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\datasources.py", line 1079, in checkForRaster
    ds = DataSourceRaster(uri, name=name, providerKey=pkey)
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\datasources.py", line 474, in __init__
    self.updateMetadata()
  File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\datasources.py", line 509, in updateMetadata
    dataSet = gdal.Open(self.mUri)
  File "D:\miniconda\envs\qgis\lib\site-packages\osgeo\gdal.py", line 4333, in Open
    return _gdal.Open(*args)
RuntimeError: `HDF5:"D:/data/sensors/prisma/PRS_L1_STD_OFFL_20201107101404_20201107101408_0001.he5"://HDFEOS/SWATHS/PRS_L1_HCO/Data_Fields/Cloud_Mask!!::!![1000x1000] //HDFEOS/SWATHS/PRS_L1_HCO/Data_Fields/Cloud_Mask (8-bit unsigned character)' does not exist in the file system, and is not recognized as a supported dataset name.

Comments (5)

  1. Andreas Janz reporter

    use the L1 scene in this folder \san\_EnMAP\Rohdaten\EnMAP-Box external Sensor Products\prisma

  2. Log in to comment