Package ucar.nc2.grid

Class GridAxis<T>

    • Method Detail

      • getName

        public String getName()
        The GridAxis name.
      • getDescription

        public String getDescription()
        The GridAxis description.
      • getUnits

        public String getUnits()
        The GridAxis units.
      • getAxisType

        public AxisType getAxisType()
        The GridAxis type.
      • getSpacing

        public GridAxisSpacing getSpacing()
        The spacing of the coordinate values.
      • isRegular

        public boolean isRegular()
        Is it regularly spaced?
      • isInterval

        public boolean isInterval()
        Is it an interval coordinate?
      • getResolution

        public double getResolution()
        For isRegular, this is also the increment.
      • getDependenceType

        public GridAxisDependenceType getDependenceType()
        The way that the Axis depends on other axes.
      • getDependsOn

        public List<String> getDependsOn()
        The list of other Axis this one depends on. Only used for GridAxisDependenceType.dependent.
      • getNominalSize

        public abstract int getNominalSize()
        Nominal in the sense that it may not match the materialized data array.
      • getCoordinate

        public abstract Object getCoordinate​(int index)
        The nominal value of the coordinate.
      • getCoordInterval

        public abstract CoordInterval getCoordInterval​(int index)
        The nominal edges of the coordinate.
      • getCoordDouble

        public abstract double getCoordDouble​(int index)
        The nominal value of the coordinate, cast to a double.
      • getSubsetRange

        public abstract Range getSubsetRange()
        For subsets, the range in the original axis that constitutes the subset.
      • binarySearch

        public abstract int binarySearch​(double want)
        Public by accident.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object