-
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
Error with handling variable length data (H5T_VLEN) #99
Comments
Hi, Do you want the dimensions of your dataset before reading it? Maybe try
|
Hi,
|
Ah, ok; I'll add support for reading:-) Thank you, I have a python env to make the test |
And also writing... |
Hi, do you have other types you want vlen'ed? Also the overall dimensions and rank you need covered? I want to support them all |
Perfect, thanks! It would be great if any kind of tables can also be used with VLEN. Demo generation script:
h5dump output:
But I think I will use another approach for now. Maybe I will get back to this really nice module in the future. So no hurry for me, but this will probably also be very useful for other users who want to use the module with hdf files generated with h5py :) Regarding the rank, it would be helpful if any kind of rank can be used (if I understand correctly the maximum rank you currently support is 4?), but then this would probably be a different issue. |
I have a dataset that was created with h5py and which contains variable length data (utilizing the H5T_VLEN type). The python script I used to generate it:
The output of h5dump:
Reading the generated HDF file in JS:
And the output:
where the numbers in the last line are different every time.
What is the problem? I would be surprised if H5T_VLEN is not implemented, as it should also be used for strings?
The text was updated successfully, but these errors were encountered: