H5LTfind_attribute
fn
herr_t H5LTfind_attribute(hid_t loc_id, const char * name)Determines whether an attribute exists.
Checks if an attribute with the given name exists attached to the specified object.
Parameters
loc_id | Location identifier (file, group, dataset, or named datatype) |
name | Name of the attribute to find |
Returns
1 if attribute exists, 0 if not, negative on error.