Function Reference: H5A.create

oct-hdf5: attribute_id = H5A.create (loc_id, attr_name, type_id, space_id, acpl_id)
oct-hdf5: attribute_id = H5A.create (loc_id, attr_name, type_id, space_id, acpl_id, aapl_id,)

Create an attribute, attr_name, which is attached to the object specified by the identifier loc_id.

Parameters:

loc_idLocation or object identifier
attr_nameAttribute name
space_idAttribute dataspace identifier
acpl_idAttribute creation property list identifier
aapl_idAttribute access property list identifier

Description:

See original function at https://support.hdfgroup.org/documentation/hdf5/latest/group___h5_a.html.

See also: H5A.open, H5A.close

Source Code: H5A.create