-
Notifications
You must be signed in to change notification settings - Fork 33
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
Can't open attributes on the root group #39
Comments
Hi @Chaosca Is it even necessary to open the group your particular example? Can you try to call Cheers! |
I don't believe that method exists @TacoVox |
@Chaosca did you ever find a solution or workaround? |
Nope, you could directly call the C API though. I believe that is what I ended up doing. For C, you'd open the attribute, similar to how it's done here: https://github.com/gonum/hdf5/blob/master/h5a_attribute.go#L35 And using this function: https://support.hdfgroup.org/HDF5/doc/RM/RM_H5A.html#Annot-Open And then you'd read the data from the attribute. |
What are you trying to do?
View an attribute on the root path of the HDF5 File "/"
What did you do?
OpenAttributes on a group doesn't seem to work. You can however call CreateAttribute, just not read from it.
What did you expect to happen?
The ability to open an attribute like on a dataset.
What version of Go, Gonum, Gonum/netlib and libhdf5 are you using?
go version go1.10.2 linux/amd64
Does this issue reproduce with the current master?
Unknown
The text was updated successfully, but these errors were encountered: