cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java
static public String findNameOfVariableWithAttributeValue(NetcdfDataset ds, String attName, String attValue) {
    Variable v = findVariableWithAttributeValue(ds, attName, attValue);
    return (v == null) ? null : v.getShortName();
  }
static public String findNameOfVariableWithAttributeValue(NetcdfDataset ds, String attName, String attValue) {
    Variable v = findVariableWithAttributeValue(ds, attName, attValue);
    return (v == null) ? null : v.getShortName();
  }
Find first variable with given attribute name and value

@param ds       in this dataset
@param attName  attribute name, case insensitive
@param attValue attribute value, case sensitive
@return name of first variable with given attribute name and value, or null