Package ucar.nc2.grid
Class MaterializedCoordinateSystem
- java.lang.Object
-
- ucar.nc2.grid.MaterializedCoordinateSystem
-
@Immutable public class MaterializedCoordinateSystem extends Object
A Coordinate System for materialized gridded data, ie that has been read into memory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MaterializedCoordinateSystem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaterializedCoordinateSystem.Builder
builder()
GridAxisPoint
getEnsembleAxis()
Get the Ensemble GridAxis, may be null.List<GridAxis<?>>
getGridAxes()
Get the GridAxes in this MaterializedCoordinateSystem.GridHorizCoordinateSystem
getHorizCoordinateSystem()
Get the GridHorizCoordinateSystem.List<Integer>
getMaterializedShape()
The shape of this array.List<Range>
getSubsetRanges()
For subsets, the ranges of the original axes that constitutes the subset.GridTimeCoordinateSystem
getTimeCoordSystem()
Get the GridTimeCoordinateSystem, may be null.GridAxis<?>
getVerticalAxis()
Get the Vertical GridAxis, may be null.GridAxisPoint
getXHorizAxis()
Get the X axis (either GeoX or Lon).GridAxisPoint
getYHorizAxis()
Get the Y axis (either GeoY or Lat).Array<Number>
readSpecial(Grid grid)
Public by accident.boolean
specialReadNeeded()
Public by accident.MaterializedCoordinateSystem.Builder
toBuilder()
Turn into a mutable Builder.
-
-
-
Method Detail
-
getTimeCoordSystem
@Nullable public GridTimeCoordinateSystem getTimeCoordSystem()
Get the GridTimeCoordinateSystem, may be null.
-
getEnsembleAxis
@Nullable public GridAxisPoint getEnsembleAxis()
Get the Ensemble GridAxis, may be null.
-
getVerticalAxis
@Nullable public GridAxis<?> getVerticalAxis()
Get the Vertical GridAxis, may be null.
-
getHorizCoordinateSystem
public GridHorizCoordinateSystem getHorizCoordinateSystem()
Get the GridHorizCoordinateSystem.
-
getXHorizAxis
public GridAxisPoint getXHorizAxis()
Get the X axis (either GeoX or Lon).
-
getYHorizAxis
public GridAxisPoint getYHorizAxis()
Get the Y axis (either GeoY or Lat).
-
getSubsetRanges
public List<Range> getSubsetRanges()
For subsets, the ranges of the original axes that constitutes the subset.
-
getGridAxes
public List<GridAxis<?>> getGridAxes()
Get the GridAxes in this MaterializedCoordinateSystem.
-
specialReadNeeded
public boolean specialReadNeeded()
Public by accident.
-
readSpecial
public Array<Number> readSpecial(Grid grid) throws InvalidRangeException, IOException
Public by accident.- Throws:
InvalidRangeException
IOException
-
toBuilder
public MaterializedCoordinateSystem.Builder toBuilder()
Turn into a mutable Builder. Can use toBuilder().build() to copy.
-
builder
public static MaterializedCoordinateSystem.Builder builder()
-
-