-
Notifications
You must be signed in to change notification settings - Fork 40
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
Reading hyperslabs fails #55
Comments
Hi, I'll test with the example you provided and let you know. I'm able to catch up in the next couple of evenings(was away for the weekend) |
Thanks. |
This is a compressed dataset. I've been working on getting compression capability. I haven't tried a compressed dataset with hyperslabbing yet. Studying this some more... |
hdf5 forum tells me this is doable. Looking for a c example. it may have to do with access property list for the reading step. Looking... |
Awesome! Thanks so much.
…On Wed, Feb 28, 2018 at 1:00 PM rimmartin ***@***.***> wrote:
hdf5 forum tells me this is doable.
https://forum.hdfgroup.org/t/are-hyperslabs-and-compression-compatible/860
Looking for a c example. it may have to do with access property list for
the reading step. Looking...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE_pnzT_pAWl7B7lthz5C2LD2z03MqKlks5tZZRHgaJpZM4SSpCQ>
.
|
Any updates on how to fix this issue? Thanks. |
I'm getting back to things. Had a software release at work that consumed a lot of time I'll make a small c/c++ app to test this out a bit; it really should be no different |
File h5_lt.hpp Line(1417) Or Maybe the dimensions are multiple time wrong in the code? |
in some versions of hdf5 H5S_UNLIMITED didn't work. You're making my recaller kick in:-) Will test some things looking at your other fix for dimensions |
I think that was it! Must reveal itself when it is a compressed h5. Survey for more places an array should be used |
All other H5Screate_simple's have the maximum_dims NULL. Will need to see if any should be filed in to allow H5S_UNLIMITED |
@joshua-gould I committed changes after applying @NINI1988 's fix to this one as well. |
It works now! Thanks. |
Example:
Prerequisites: Download hdf5 file from http://pklab.med.harvard.edu/velocyto/hgForebrainGlut/hgForebrainGlut.loom
Error:
HDF5-DIAG: Error detected in HDF5 (1.8.20) thread 0:
#000: H5S.c line 1382 in H5Screate_simple(): maxdims is smaller than dims
major: Invalid arguments to routine
minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.8.20) thread 0:
#000: H5Dio.c line 147 in H5Dread(): not a data space
major: Invalid arguments to routine
minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.8.20) thread 0:
#000: H5S.c line 390 in H5Sclose(): not a dataspace
major: Invalid arguments to routine
minor: Inappropriate type
SyntaxError: failed to read dataset
The text was updated successfully, but these errors were encountered: