Class CoordinateVariable<T>

  • Type Parameters:
    T -
    Direct Known Subclasses:
    ClimatologicalTimeCoordinateVariable

    public abstract class CoordinateVariable<T>
    extends Object
    Author:
    Simone Giannecchini GeoSolutions SAS, Niels Charlier
    • Field Detail

      • binding

        protected final Class<T> binding
      • coordinateAxis

        protected final CoordinateAxis coordinateAxis
    • Constructor Detail

      • CoordinateVariable

        public CoordinateVariable​(Class<T> binding,
                                  CoordinateAxis coordinateAxis)
    • Method Detail

      • suggestBinding

        public static Class<?> suggestBinding​(CoordinateAxis coordinateAxis)
      • init

        protected void init()
      • isMissing

        protected boolean isMissing​(Object val)
      • getType

        public Class<T> getType()
      • getUnit

        public String getUnit()
      • unwrap

        public CoordinateAxis unwrap()
      • getAxisType

        public AxisType getAxisType()
      • getName

        public String getName()
      • getSize

        public long getSize()
                     throws IOException
        Throws:
        IOException
      • isRegular

        public boolean isRegular()
      • getIncrement

        public double getIncrement()
      • getStart

        public double getStart()
      • getMinimum

        public T getMinimum()
                     throws IOException
        Throws:
        IOException
      • getMaximum

        public T getMaximum()
                     throws IOException
        Throws:
        IOException
      • read

        public T read​(Map<String,​Integer> indexMap)
               throws IndexOutOfBoundsException
        Throws:
        IndexOutOfBoundsException
      • read

        public List<T> read()
                     throws IndexOutOfBoundsException
        Throws:
        IndexOutOfBoundsException
      • isNumeric

        public abstract boolean isNumeric()
      • convertValue

        protected abstract T convertValue​(Object o)
      • toString

        public String toString()
        Overrides:
        toString in class Object