Package ucar.nc2.grid

Class GridCoordinateSystem


  • public class GridCoordinateSystem
    extends Object
    A Coordinate System for gridded data, consisting of orthogonal 1D GridAxes. In some cases, the shape is an approximation, so that when reading data, the returned Array in MaterializedCoordinateSyste will have a different shape, reflecting the actual data.
    • Method Detail

      • getName

        public String getName()
        The name of the Grid Coordinate System.
      • getFeatureType

        public FeatureType getFeatureType()
        Always GRID or CURVILINEAR.
      • getGridAxes

        public List<GridAxis<?>> getGridAxes()
        The GridAxes that constitute this Coordinate System.
      • findCoordAxisByType

        @Nullable
        public GridAxis<?> findCoordAxisByType​(AxisType... axisType)
        Find the first axis having one of the given AxisTypes. Search in order given.
      • getTimeCoordinateSystem

        public GridTimeCoordinateSystem getTimeCoordinateSystem()
        Get the Time CoordinateSystem. Null if there are no time coordinates.
      • getEnsembleAxis

        @Nullable
        public GridAxisPoint getEnsembleAxis()
        Get the ensemble axis, if any.
      • getVerticalAxis

        @Nullable
        public GridAxis<?> getVerticalAxis()
        Get the Z axis (GeoZ, Height, Pressure), if any.
      • getVerticalTransform

        @Nullable
        public VerticalTransform getVerticalTransform()
        Get the vertical transform, if any.
      • isZPositive

        public boolean isZPositive()
        True if increasing z coordinate values means "up" in altitude
      • getXHorizAxis

        public GridAxisPoint getXHorizAxis()
        Get the X axis (either GeoX or Lon).
      • getYHorizAxis

        public GridAxisPoint getYHorizAxis()
        Get the Y axis (either GeoY or Lat).
      • getHorizCoordinateSystem

        public GridHorizCoordinateSystem getHorizCoordinateSystem()
        Get the Horizontal CoordinateSystem.
      • getNominalShape

        public List<Integer> getNominalShape()
        Nominal shape, may differ from materialized shape.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • showFnSummary

        public String showFnSummary()
        Function description, eg GRID(T,Z,Y,Z):R