correctly installed h5py on Windows QGIS 3.22 still can't open PRISMA HE5 file

Issue #889 resolved
Andreas Janz created an issue

Reported by Abdelhak El Mansour via email.

h5py can be imported correctly, but opening a file still gives an OSError:

Comments (5)

  1. Andreas Janz reporter

    h5py.File wants to creates a file lock when opening a file, so it may need appropriate user rights.

    File locking can be turned off via:

    >>>import os
    >>>os.environ["HDF5_USE_FILE_LOCKING"] = "FALSE"
    >>>h5py.File(r'C:/Users/Andreas/Downloads/PRS_L1_STD_OFFL_20210902111107_20210902111111_0001.he5')
    

    Waiting for user feedback (via email), if that works.

  2. Log in to comment