H5py Writing A Hdf File , Question About Dimension
I created a new file whose handle is fw. fw.create_dataset('grp1/grp2/grp2/varname',data=arr) The groups are created before this command. arr is a numpy array with dimensions (2,3
Solution 1:
You could probably do something like
dataset.dims[0].label = 'm'
dataset.dims[1].label = 'n'
But really, it's all in the official docs: http://docs.h5py.org/en/latest/high/dims.html
Post a Comment for "H5py Writing A Hdf File , Question About Dimension"