public class CoordSysEvaluator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CoordSysEvaluator.Predicate |
Constructor and Description |
---|
CoordSysEvaluator() |
Modifier and Type | Method and Description |
---|---|
static CoordinateAxis |
findCoordByType(java.util.List<CoordinateAxis> axes,
AxisType atype,
CoordSysEvaluator.Predicate p) |
static CoordinateAxis |
findCoordByType(NetcdfDataset ds,
AxisType atype)
Look for Axis by Type.
|
static CoordinateAxis |
findCoordByType(NetcdfDataset ds,
AxisType atype,
CoordSysEvaluator.Predicate p)
Look for Axis by Type and test against a predicate
|
static java.lang.String |
findCoordNameByType(NetcdfDataset ds,
AxisType atype)
Look for Axis by Type.
|
static void |
findCoords(TableConfig nt,
NetcdfDataset ds,
CoordSysEvaluator.Predicate p)
Look for Axis by Type, assign to TableConfig if found.
|
static java.lang.String |
findCoordShortNameByType(NetcdfDataset ds,
AxisType atype) |
static java.lang.String |
findCoordShortNameByType(NetcdfDataset ds,
AxisType atype,
CoordSysEvaluator.Predicate p) |
static Dimension |
findDimensionByType(NetcdfDataset ds,
AxisType atype)
Look for Dimension used by axis of given by Type.
|
public static void findCoords(TableConfig nt, NetcdfDataset ds, CoordSysEvaluator.Predicate p)
nt
- set coordinates short names in this table.ds
- look in this dataset's "Best" coordinate system. If no CoordSystem, try list of coordinate axespublic static java.lang.String findCoordNameByType(NetcdfDataset ds, AxisType atype)
ds
- look in this dataset's "Best" coordinate system.atype
- look for this type of CoordinateAxis. takes the first one it finds.public static java.lang.String findCoordShortNameByType(NetcdfDataset ds, AxisType atype)
public static java.lang.String findCoordShortNameByType(NetcdfDataset ds, AxisType atype, CoordSysEvaluator.Predicate p)
public static CoordinateAxis findCoordByType(NetcdfDataset ds, AxisType atype)
ds
- look in this dataset's "Best" coordinate system.atype
- look for this type of CoordinateAxis. takes the first one it finds.public static CoordinateAxis findCoordByType(NetcdfDataset ds, AxisType atype, CoordSysEvaluator.Predicate p)
ds
- look in this dataset's "Best" coordinate system.atype
- look for this type of CoordinateAxis.p
- match this predicate; may be nullpublic static CoordinateAxis findCoordByType(java.util.List<CoordinateAxis> axes, AxisType atype, CoordSysEvaluator.Predicate p)
public static Dimension findDimensionByType(NetcdfDataset ds, AxisType atype)
ds
- look in this dataset's "Best" coordinate system.atype
- look for this type of CoordinateAxis. takes the first one it finds.