|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.ft.point.standard.plug.UnidataPointDatasetHelper
public class UnidataPointDatasetHelper
Helper routines for point feature datasets using Unidata Conventions.
Constructor Summary | |
---|---|
UnidataPointDatasetHelper()
|
Method Summary | |
---|---|
static Dimension |
findDimension(NetcdfFile ds,
String name)
|
static Dimension |
findObsDimension(NetcdfFile ds)
|
static Variable |
findVariable(NetcdfFile ds,
String name)
|
static String |
findVariableName(NetcdfFile ds,
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 String |
getCoordinateName(NetcdfDataset ds,
AxisType a)
Tries to find the coordinate variable of the specified type. |
static 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 Date |
getEndDate(NetcdfDataset ds,
DateUnit timeUnit)
|
static Date |
getStartDate(NetcdfDataset ds,
DateUnit timeUnit)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnidataPointDatasetHelper()
Method Detail |
---|
public static Date getStartDate(NetcdfDataset ds, DateUnit timeUnit)
public static Date getEndDate(NetcdfDataset ds, DateUnit timeUnit)
public static LatLonRect getBoundingBox(NetcdfDataset ds)
public static String getCoordinateName(NetcdfDataset ds, AxisType a)
ds
- look in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIME
public static String getCoordinateName(NetcdfDataset ds, AxisType a, Dimension dim)
ds
- look in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIMEdim
- must use this dimension
public static Variable getCoordinate(NetcdfDataset ds, AxisType a)
ds
- look in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIME
public static String findVariableName(NetcdfFile ds, String name)
public static Variable findVariable(NetcdfFile ds, String name)
public static Dimension findDimension(NetcdfFile ds, String name)
public static Dimension findObsDimension(NetcdfFile ds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |