Package ucar.nc2.grib.coord
Class CoordinateSharerBest
- java.lang.Object
-
- ucar.nc2.grib.coord.CoordinateSharerBest
-
public class CoordinateSharerBest extends Object
Create shared coordinate variables across the variables in the same group. Use Coordinate.equals(), hashCode() to find unique coordinate variables. Used by GribPartitionBuilder.makeBest(), for all coordinates not CoordinateTime2D and not CoordinateRuntime. Best coordinates are translated into equivilent 2D coordinate, thus we dont need separate CoordinateND.- Since:
- 12/10/13
-
-
Constructor Summary
Constructors Constructor Description CoordinateSharerBest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCoordinate(Coordinate coord)
void
addCoordinates(List<Coordinate> coords)
List<Coordinate>
finish()
List<Integer>
reindex(List<Coordinate> coords)
-
-
-
Method Detail
-
addCoordinates
public void addCoordinates(List<Coordinate> coords)
-
addCoordinate
public void addCoordinate(Coordinate coord)
-
finish
public List<Coordinate> finish()
-
reindex
public List<Integer> reindex(List<Coordinate> coords)
-
-