H5LT_set_attribute_numerical

fnherr_t H5LT_set_attribute_numerical(hid_t loc_id, const char * obj_name, const char * attr_name, size_t size, hid_t type_id, const void * data)

Sets a numerical attribute.

Internal helper function that sets an attribute with numerical data.

Parameters

loc_idLocation identifier
obj_nameName of the object to attach attribute to
attr_nameName of the attribute
sizeNumber of elements
type_idDatatype identifier
dataData to write

Returns

Non-negative on success, negative on failure.