cdm/src/main/java/ucar/nc2/Group.java
public Variable findVariable(String varShortName) {
    if (varShortName == null) return null;

    for (Variable v : variables) {
      if (varShortName.equals(v.getShortName()))
        return v;
    }
    return null;
  }
public Variable findVariable(String varShortName) {
    if (varShortName == null) return null;

    for (Variable v : variables) {
      if (varShortName.equals(v.getShortName()))
        return v;
    }
    return null;
  }
public Variable findVariable ( String varShortName ) { if ( varShortName == null ) return null ; for ( Variable v : variables ) { if ( varShortName . equals ( v . getShortName ( ) ) ) return v ; } return null ; }
Find the Variable with the specified (short) name in this group.

@param varShortName short name of Variable within this group.
@return the Variable, or null if not found
Find the Variable with the specified ( short ) name in this group .