public class CoordSysEvaluator extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CoordSysEvaluator.Predicate |
Constructor and Description |
---|
CoordSysEvaluator() |
Modifier and Type | Method and Description |
---|---|
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 String |
findCoordNameByType(NetcdfDataset ds,
AxisType atype)
Look for Axis by Type.
|
static void |
findCoords(TableConfig nt,
List<CoordinateAxis> axes) |
static void |
findCoords(TableConfig nt,
NetcdfDataset ds)
Look for Axis by Type, assign to TableConfig if found.
|
static String |
findCoordShortNameByType(NetcdfDataset ds,
AxisType atype) |
static void |
findCoordWithDimension(TableConfig nt,
NetcdfDataset ds,
Dimension outer) |
static Dimension |
findDimensionByType(NetcdfDataset ds,
AxisType atype)
Look for Axis by Type.
|
public static void findCoords(TableConfig nt, NetcdfDataset ds)
nt
- assign coordinates to this table.ds
- look in this dataset's "Best" coordinate system. If no CoordSystem, try list of coordinate axespublic static void findCoords(TableConfig nt, List<CoordinateAxis> axes)
public static void findCoordWithDimension(TableConfig nt, NetcdfDataset ds, Dimension outer)
public static 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 String findCoordShortNameByType(NetcdfDataset ds, AxisType atype)
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 predicatepublic 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.Copyright © 1999–2015 UCAR/Unidata. All rights reserved.