I am trying to read a dataset that has the following properties:
I am using HDF5 compiled static library for Visual Studio 2017. I have been mainly using the C++ API and had no problem with reading non-compressed datasets. How should I read LZF compressed dataset in this case?
You need to build the lzf filter and make it available to HDF5.
The h5py repo has some information on how to do this.
Basically you need to clone the h5py repo, build the lzf filter as a shared library and then put it into /usr/local/hdf5/lib/plugin and optionally point the environment variable to that location:
You can then test it with h5dump dataset.hdf5. If the lzf filter is properly detected and loaded it should dump the contents of the compressed dataset. If not it will show an error.