Closed joshua-gould closed 6 years ago
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. 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...
Awesome! Thanks so much.
On Wed, Feb 28, 2018 at 1:00 PM rimmartin notifications@github.com 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 https://github.com/HDF-NI/hdf5.node/issues/55#issuecomment-369326925, 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)
Maybe this memspace_id = H5Screate_simple(rank, count.get(), NULL);
Or
const hsize_t maxsize = H5S_UNLIMITED;
should be
std::unique_ptr<hsize_t[]> maxsize(new hsize_t[rank]);
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
HDF5-DIAG: Error detected in HDF5 (1.8.20) thread 0:
000: H5Dio.c line 147 in H5Dread(): not a data space
HDF5-DIAG: Error detected in HDF5 (1.8.20) thread 0:
000: H5S.c line 390 in H5Sclose(): not a dataspace
SyntaxError: failed to read dataset