cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java
public CoordinateAxis findCoordinateAxis(AxisType type) {
    if (type == null) return null;
    for (CoordinateAxis v : coordAxes) {
      if (type == v.getAxisType())
        return v;
    }
    return null;
  }
public CoordinateAxis findCoordinateAxis(AxisType type) {
    if (type == null) return null;
    for (CoordinateAxis v : coordAxes) {
      if (type == v.getAxisType())
        return v;
    }
    return null;
  }
Retrieve the CoordinateAxis with the specified Axis Type.

@param type axis type
@return the first CoordinateAxis that has that type, or null if not found