ucar.nc2.dt.point
Class UnidataObsDatasetHelper
java.lang.Object
ucar.nc2.dt.point.UnidataObsDatasetHelper
public class UnidataObsDatasetHelper
- extends Object
Helper routines for station/point datasets
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnidataObsDatasetHelper
public UnidataObsDatasetHelper()
getStartDate
public static Date getStartDate(NetcdfDataset ds)
getEndDate
public static Date getEndDate(NetcdfDataset ds)
getBoundingBox
public static LatLonRect getBoundingBox(NetcdfDataset ds)
getCoordinate
public static Variable getCoordinate(NetcdfDataset ds,
AxisType a)
- Tries to find the coordinate variable of the specified type.
- Parameters:
ds
- look in this dataseta
- AxisType.LAT, LON, HEIGHT, or TIME
- Returns:
- coordinate variable, or null if not found.
findVariable
public static Variable findVariable(NetcdfFile ds,
String name)
findDimension
public static Dimension findDimension(NetcdfFile ds,
String name)
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.