cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java
public double[] getCoordValues() {
    if (coords == null) doRead();
    if (!isNumeric())
      throw new UnsupportedOperationException("CoordinateAxis2D.getCoordValues() on non-numeric");
    return (double[]) coords.get1DJavaArray(DataType.DOUBLE);
  }
public double[] getCoordValues() {
    if (coords == null) doRead();
    if (!isNumeric())
      throw new UnsupportedOperationException("CoordinateAxis2D.getCoordValues() on non-numeric");
    return (double[]) coords.get1DJavaArray(DataType.DOUBLE);
  }
public double [ ] getCoordValues ( ) { if ( coords == null ) doRead ( ) ; if ( ! isNumeric ( ) ) throw new UnsupportedOperationException ( "CoordinateAxis2D.getCoordValues() on non-numeric" ) ; return ( double [ ] ) coords . get1DJavaArray ( DataType . DOUBLE ) ; }
Get the coordinate values as a 1D double array, in canonical order.

@return coordinate values
@throws UnsupportedOperationException if !isNumeric()
Get the coordinate values as a 1D double array in canonical order .