public class UnidataPointDatasetHelper
extends java.lang.Object
Constructor and Description |
---|
UnidataPointDatasetHelper() |
Modifier and Type | Method and Description |
---|---|
static Dimension |
findDimension(NetcdfFile ds,
java.lang.String name) |
static Dimension |
findObsDimension(NetcdfFile ds) |
static Variable |
findVariable(NetcdfFile ds,
java.lang.String name) |
static java.lang.String |
findVariableName(NetcdfFile ds,
java.lang.String name) |
static LatLonRect |
getBoundingBox(NetcdfDataset ds) |
static Variable |
getCoordinate(NetcdfDataset ds,
AxisType a)
Tries to find the coordinate variable of the specified type.
|
static java.lang.String |
getCoordinateName(NetcdfDataset ds,
AxisType a)
Tries to find the coordinate variable of the specified type.
|
static java.lang.String |
getCoordinateName(NetcdfDataset ds,
AxisType a,
Dimension dim)
Tries to find the coordinate variable of the specified type, which has the specified dimension as its firsst
dimension
|
static CalendarDate |
getEndDate(NetcdfDataset ds,
CalendarDateUnit timeUnit) |
static CalendarDate |
getStartDate(NetcdfDataset ds,
CalendarDateUnit timeUnit) |
public static CalendarDate getStartDate(NetcdfDataset ds, CalendarDateUnit timeUnit)
public static CalendarDate getEndDate(NetcdfDataset ds, CalendarDateUnit timeUnit)
public static LatLonRect getBoundingBox(NetcdfDataset ds)
public static java.lang.String getCoordinateName(NetcdfDataset ds, AxisType a)
ds
- search in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIMEpublic static java.lang.String getCoordinateName(NetcdfDataset ds, AxisType a, Dimension dim)
ds
- search in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIMEdim
- must use this dimensionpublic static Variable getCoordinate(NetcdfDataset ds, AxisType a)
ds
- search in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIMEpublic static java.lang.String findVariableName(NetcdfFile ds, java.lang.String name)
public static Variable findVariable(NetcdfFile ds, java.lang.String name)
public static Dimension findDimension(NetcdfFile ds, java.lang.String name)
public static Dimension findObsDimension(NetcdfFile ds)