When porting access of an hdf5 file from Python to Go similar to
import h5py
f = h5py.File('./examples/hdf5/data00000100.h5', 'r')
g = f['data/100']
for a in g.attrs:
print(a, g.attrs[a])
# dumps...
# (u'dt', 3.2847121452090093e-16)
# (u'time', 3.2847121452090077e-14)
# (u'timeUnitSI', 1.0)
I noticed while Groups can have attributes and has same access pattern as Datasets the Go wrapper did not support them. A simple c/p from Datasets appears to be working well.
Would you please send a PR to gonum/gonum adding yourself to AUTHORS and CONTRIBUTORS with the commit message "A+C: add Delaney Gillilan". Then I'll approve this.
When porting access of an hdf5 file from Python to Go similar to
I noticed while
Groups
can have attributes and has same access pattern asDatasets
the Go wrapper did not support them. A simple c/p fromDatasets
appears to be working well.