cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java
public boolean containsAxisType(AxisType wantAxisType) {
    for (CoordinateAxis ca : coordAxes) {
      if (ca.getAxisType() == wantAxisType) return true;
    }
    return false;
   }
public boolean containsAxisType(AxisType wantAxisType) {
    for (CoordinateAxis ca : coordAxes) {
      if (ca.getAxisType() == wantAxisType) return true;
    }
    return false;
   }
public boolean containsAxisType ( AxisType wantAxisType ) { for ( CoordinateAxis ca : coordAxes ) { if ( ca . getAxisType ( ) == wantAxisType ) return true ; } return false ; }
Do we have an axes of the given type?
@param wantAxisType want this AxisType
@return true if we have at least one axis of that type.
Do we have an axes of the given type?