Function Reference: H5A.get_num_attrs

dl>
oct-hdf5: attr_count = H5A.get_num_attrs (loc_id)

Return the number of attributes if successful; otherwise return a negative value.

Parameters:

loc_idIdentifier of a group, dataset, or named datatype

Description:

See original function at https://portal.hdfgroup.org/display/HDF5/H5A_GET_NUM_ATTRS.

Source Code: H5A.get_num_attrs