ucar.nc2.dt.point
Class UnidataObsDatasetHelper

java.lang.Object
  extended by ucar.nc2.dt.point.UnidataObsDatasetHelper

public class UnidataObsDatasetHelper
extends Object

Helper routines for station/point datasets

Author:
caron

Constructor Summary
UnidataObsDatasetHelper()
           
 
Method Summary
static Dimension findDimension(NetcdfFile ds, String name)
           
static Variable findVariable(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 Date getEndDate(NetcdfDataset ds)
           
static Date getStartDate(NetcdfDataset ds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnidataObsDatasetHelper

public UnidataObsDatasetHelper()
Method Detail

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 dataset
a - 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.