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 java.util.Date |
getEndDate(NetcdfDataset ds,
DateUnit timeUnit) |
static java.util.Date |
getStartDate(NetcdfDataset ds,
DateUnit timeUnit) |
public static java.util.Date getStartDate(NetcdfDataset ds, DateUnit timeUnit)
public static java.util.Date getEndDate(NetcdfDataset ds, DateUnit timeUnit)
public static LatLonRect getBoundingBox(NetcdfDataset ds)
public static java.lang.String getCoordinateName(NetcdfDataset ds, AxisType a)
ds
- look in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIMEpublic static java.lang.String getCoordinateName(NetcdfDataset ds, AxisType a, Dimension dim)
ds
- look in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIMEdim
- must use this dimensionpublic static Variable getCoordinate(NetcdfDataset ds, AxisType a)
ds
- look 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)