Package ucar.nc2.dataset
Class ProjectionCT
- java.lang.Object
-
- ucar.nc2.dataset.CoordinateTransform
-
- ucar.nc2.dataset.ProjectionCT
-
- All Implemented Interfaces:
Comparable<CoordinateTransform>
@Immutable public class ProjectionCT extends CoordinateTransform
A Projection CoordinateTransform has a Projection bijection (GeoX, GeoY) <-> (Lat, Lon).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectionCT.Builder<T extends ProjectionCT.Builder<T>>
-
Field Summary
-
Fields inherited from class ucar.nc2.dataset.CoordinateTransform
authority, name, params, transformType
-
-
Constructor Summary
Constructors Modifier Constructor Description ProjectionCT(String name, String authority, ProjectionImpl proj)
Create a Projection Coordinate Transform.protected
ProjectionCT(ProjectionCT.Builder<?> builder, NetcdfDataset ncd)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ProjectionCT.Builder<?>
addLocalFieldsToBuilder(ProjectionCT.Builder<? extends ProjectionCT.Builder<?>> b)
static ProjectionCT.Builder<?>
builder()
ProjectionImpl
getProjection()
Deprecated.this will return Projection, not ProjectionImpl in 6.ProjectionCT.Builder<?>
toBuilder()
-
Methods inherited from class ucar.nc2.dataset.CoordinateTransform
addLocalFieldsToBuilder, addParameter, compareTo, equals, findParameterIgnoreCase, getAttributeContainer, getAuthority, getName, getParameters, getTransformType, hashCode, toString
-
-
-
-
Constructor Detail
-
ProjectionCT
public ProjectionCT(String name, String authority, ProjectionImpl proj)
Create a Projection Coordinate Transform.- Parameters:
name
- name of transform, must be unique within the NcML.authority
- naming authority.proj
- projection function. TODO will be Projection in ver6.
-
ProjectionCT
protected ProjectionCT(ProjectionCT.Builder<?> builder, NetcdfDataset ncd)
-
-
Method Detail
-
getProjection
public ProjectionImpl getProjection()
Deprecated.this will return Projection, not ProjectionImpl in 6.Get the Projection function.- Returns:
- the Projection
-
toBuilder
public ProjectionCT.Builder<?> toBuilder()
- Overrides:
toBuilder
in classCoordinateTransform
-
addLocalFieldsToBuilder
protected ProjectionCT.Builder<?> addLocalFieldsToBuilder(ProjectionCT.Builder<? extends ProjectionCT.Builder<?>> b)
-
builder
public static ProjectionCT.Builder<?> builder()
-
-