Package ucar.nc2.grib.coord
Class CoordinatePartitionUnionizer
- java.lang.Object
-
- ucar.nc2.grib.coord.CoordinatePartitionUnionizer
-
public class CoordinatePartitionUnionizer extends Object
Create the overall coordinate across the same variable in different partitions The CoordinateBuilders create unique sets of Coordinates. The CoordinateND result is then the cross-product of those Coordinates. Used by GribPartitionBuilder This is a builder helper class, the result is obtained from Listfinish(). So if theres a lot of missing records in that cross-product, we may have the variable wrong (?), or our assumption that the data comprises a multidim array may be wrong - Since:
- 12/10/13
-
-
Constructor Summary
Constructors Constructor Description CoordinatePartitionUnionizer(GribCollectionMutable.VariableIndex vi, FeatureCollectionConfig.GribIntvFilter intvFilter, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCoords(List<Coordinate> coords, PartitionCollectionMutable.Partition part)
List<Coordinate>
finish()
-
-
-
Constructor Detail
-
CoordinatePartitionUnionizer
public CoordinatePartitionUnionizer(GribCollectionMutable.VariableIndex vi, FeatureCollectionConfig.GribIntvFilter intvFilter, org.slf4j.Logger logger)
-
-
Method Detail
-
addCoords
public void addCoords(List<Coordinate> coords, PartitionCollectionMutable.Partition part)
-
finish
public List<Coordinate> finish()
-
-