Skip to content
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

How to "read string typed datasets"? #14

Open
SBahre opened this issue Jan 18, 2018 · 1 comment
Open

How to "read string typed datasets"? #14

SBahre opened this issue Jan 18, 2018 · 1 comment

Comments

@SBahre
Copy link

SBahre commented Jan 18, 2018

I was going through the Readme of this repository and found this statement in TODO.

read string typed datasets

Is reading a string dataset really an issue in HDF5?
Is there any special procedure or understanding needed for that?

I am working on the HDF5 wrapper in C# using HDF.PInvoke. My wrapper can write the string dataset. I am facing the issue while reading the string dataset. I have explored many links.
Even sharpHDF, another GitHub wrapper on HDF.PInvoke does not support writing and hence, reading string datatype.

What is the issue that you are facing? If you can share the issue, we may together find the solution.

@stegro
Copy link
Contributor

stegro commented Jan 18, 2018

Hi SBahre,
HDF5 can deal with string types, and the hdf5oct package readily reads string-type attributes.
However it was just not implemented, since string-typed matrices in GNU Octave are quite different from numeral matrices. And since it is a rather exotic usecase, I just have not bothered to spend time on implementing this (I don't know how to handle Octave's cell arrays in C code...). Of course, you are welcome to do it, if you would like. Note that there are forks of this repository which are more up-to-date and there is currently activity to incorporate this code into octave core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants