H5LTget_attribute_ndims

fnherr_t H5LTget_attribute_ndims(hid_t loc_id, const char * obj_name, const char * attr_name, int * rank)

Gets attribute rank