cdm/src/main/java/ucar/nc2/Group.java
public Dimension findDimensionLocal(String name) {
    if (name == null) return null;
    // name =  NetcdfFile.makeNameUnescaped(name);
    for (Dimension d : dimensions) {
      if (name.equals(d.getShortName()))
        return d;
    }

    return null;
  }
public Dimension findDimensionLocal(String name) {
    if (name == null) return null;
    // name =  NetcdfFile.makeNameUnescaped(name);
    for (Dimension d : dimensions) {
      if (name.equals(d.getShortName()))
        return d;
    }

    return null;
  }
Retrieve a Dimension using its (short) name, in this group only

@param name Dimension name.
@return the Dimension, or null if not found