简体   繁体   中英

How to access HDF5 dataset with szip compression using h5py

As the title says, I need to know how to access the dataset of an HDF5 file that has szip compression using h5py. This is the error I get:

IOError: can't read data (Dataset: Read failed)

Does anyone have an idea of how to access this dataset using h5py?

Thanks

What system are your using to read the HDF5 file?
the h5py docs say this about SZIP:

  • UNIX: if supplied with HDF5.
  • Windows: read-only

So, if you are on Linux, you may need to update your HDF5 installation to add SZIP compression. Reference here:

Supported h5py compression/processing filters

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM