Class Slice2DIndex

Object
Slice2DIndex

public class Slice2DIndex extends Object
A bean that represents a row in the index used for mapping 2d grids to 2d slices in NetCDF files.

The elements are:

  1. imageIndex the index of the image to work with
  2. tIndex the index of the time dimension for this 2d slice
  3. zIndex the index of the elevation dimension for this 2d slice
  4. variableName the name of this variable, e.g. temperature
Author:
Andrea Antonello, Simone Giannecchini, GeoSolutions
  • Field Details

  • Constructor Details

    • Slice2DIndex

      public Slice2DIndex(String variableName)
    • Slice2DIndex

      public Slice2DIndex(int[] index, String variableName)
  • Method Details

    • getNIndex

      public int getNIndex(int n)
    • getNCount

      public int getNCount()
    • getVariableName

      public String getVariableName()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object