cdm/src/main/java/ucar/nc2/dataset/conv/DefaultConvention.java
private String findCoordinateName(NetcdfDataset ds, AxisType axisType) {
      List<Variable> vlist = ds.getVariables();
      for (Variable aVlist : vlist) {
        VariableEnhanced ve = (VariableEnhanced) aVlist;
        if (axisType == getAxisType(ds, ve)) {
          return ve.getFullName();
        }
      }
      return null;
    }
private String findCoordinateName(NetcdfDataset ds, AxisType axisType) {
      List<Variable> vlist = ds.getVariables();
      for (Variable aVlist : vlist) {
        VariableEnhanced ve = (VariableEnhanced) aVlist;
        if (axisType == getAxisType(ds, ve)) {
          return ve.getFullName();
        }
      }
      return null;
    }
private String findCoordinateName ( NetcdfDataset ds , AxisType axisType ) { List < Variable > vlist = ds . getVariables ( ) ; for ( Variable aVlist : vlist ) { VariableEnhanced ve = ( VariableEnhanced ) aVlist ; if ( axisType == getAxisType ( ds , ve ) ) { return ve . getFullName ( ) ; } } return null ; }
look for aliases.

@param ds       containing dataset
@param axisType look for this axis type
@return name of axis of that type
look for aliases .