Attributes — h5py 3.5.0 documentation
docs.h5py.org › en › stableGet the names of all attributes attached to this object. values() ¶ Get the values of all attributes attached to this object. items() ¶ Get (name, value) tuples for all attributes attached to this object. get(name, default=None) ¶ Retrieve name, or default if no such attribute exists. get_id(name) ¶ Get the low-level AttrID for the named attribute.
Quick Start Guide — h5py 3.5.0 documentation
docs.h5py.org › en › stableAttributes¶ One of the best features of HDF5 is that you can store metadata right next to the data it describes. All groups and datasets support attached named bits of data called attributes. Attributes are accessed through the attrs proxy object, which again implements the dictionary interface:
Groups — h5py 3.5.0 documentation
docs.h5py.org › en › stabletrack_order – Track attribute creation order if True. Default is h5.get_config().track_order. external – Store the dataset in one or more external, non-HDF5 files. This should be an iterable (such as a list) of tuples of (name, offset, size) to store data from offset to offset + size in the named file. Each name must be a str, bytes, or os ...
Quick Start Guide — h5py 3.5.0 documentation
https://docs.h5py.org/en/stable/quick.htmlAttributes¶. One of the best features of HDF5 is that you can store metadata right next to the data it describes. All groups and datasets support attached named bits of data called attributes.. Attributes are accessed through the attrs proxy object, which again implements the dictionary interface: >>> dset. attrs ['temperature'] = 99.5 >>> dset. attrs ['temperature'] 99.5 >>> …
Datasets — h5py 3.5.0 documentation
docs.h5py.org › en › stableInstead, it is a dataset with an associated type, no data, and no shape. In h5py, we represent this as either a dataset with shape None, or an instance of h5py.Empty. Empty datasets and attributes cannot be sliced. To create an empty attribute, use h5py.Empty as per Attributes: >>>
Attributes — h5py 3.5.0 documentation
https://docs.h5py.org/en/stable/high/attr.htmlGet an iterator over attribute names. __contains__ (name) ¶ Determine if attribute name is attached to this object. __getitem__ (name) ¶ Retrieve an attribute. __setitem__ (name, val) ¶ Create an attribute, overwriting any existing attribute. The type and shape of the attribute are determined automatically by h5py. __delitem__ (name ...