Defined in File hdf_utils.h
Read a scalar attribute.
Returns false if the attribute is missing, does not hold exactly one element, or cannot be read.