cdm/src/main/java/ucar/nc2/Group.java
public EnumTypedef findEnumeration(String name) {
    if (name == null) return null;
    // name =  NetcdfFile.makeNameUnescaped(name);
    for (EnumTypedef d : enumTypedefs) {
      if (name.equals(d.getShortName()))
        return d;
    }
    Group parent = getParentGroup();
    if (parent != null)
      return parent.findEnumeration(name);

    return null;
  }
public EnumTypedef findEnumeration(String name) {
    if (name == null) return null;
    // name =  NetcdfFile.makeNameUnescaped(name);
    for (EnumTypedef d : enumTypedefs) {
      if (name.equals(d.getShortName()))
        return d;
    }
    Group parent = getParentGroup();
    if (parent != null)
      return parent.findEnumeration(name);

    return null;
  }
Find an Enumeration Typedef using its (short) name. If it doesnt exist in this group,
recursively look in parent groups.

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