cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java
public ProjectionImpl getProjection() {
    if (projection == null) {
      if (isLatLon()) projection = new LatLonProjection();
      ProjectionCT projCT = getProjectionCT();
      if (null != projCT) projection = projCT.getProjection();
    }
    return projection;
  }
public ProjectionImpl getProjection() {
    if (projection == null) {
      if (isLatLon()) projection = new LatLonProjection();
      ProjectionCT projCT = getProjectionCT();
      if (null != projCT) projection = projCT.getProjection();
    }
    return projection;
  }
public ProjectionImpl getProjection ( ) { if ( projection == null ) { if ( isLatLon ( ) ) projection = new LatLonProjection ( ) ; ProjectionCT projCT = getProjectionCT ( ) ; if ( null != projCT ) projection = projCT . getProjection ( ) ; } return projection ; }
Get the Projection for this coordinate system.
If isLatLon(), then returns a LatLonProjection. Otherwise, extracts the
projection from any ProjectionCT CoordinateTransform.
@return ProjectionImpl or null if none.
Get the Projection for this coordinate system . If isLatLon () then returns a LatLonProjection . Otherwise extracts the projection from any ProjectionCT CoordinateTransform .