New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Fletcher32 check before reading #2366
Comments
It looks like |
Thanks for the quick answer! Unfortunately read_direct_chunk() would be difficult as I am using compression, so I would have to manually uncompress the data. How would I go about exposing H5Pset_edc_check? |
We've actually already got a generated wrapper function in Cython for it: Line 369 in bb38017
So to expose it to use from Python should just be a question of adding it (and the corresponding Lines 1982 to 2003 in bb38017
Then you'd need to use the low-level |
I have a file which has known errors in the fletcher32 checksum. When I try to read these chunks in h5py, an exception is raised. What if I want to force h5py to read these anyway?
I can see there is a function to do just this, H5Pset_edc_check (https://docs.hdfgroup.org/hdf5/develop/group___d_x_p_l.html#ga0d95dfa506784acc9aed850c99713609)... but I can't work out how to call this via h5py
The text was updated successfully, but these errors were encountered: