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