ucar.nc2.dt.trajectory
Class ZebraClassTrajectoryObsDataset
java.lang.Object
ucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset
ucar.nc2.dt.trajectory.ZebraClassTrajectoryObsDataset
- All Implemented Interfaces:
- TrajectoryObsDataset, TypedDataset, TypedDatasetFactoryIF
public class ZebraClassTrajectoryObsDataset
- extends SingleTrajectoryObsDataset
- implements TypedDatasetFactoryIF
Implements TrajectoryDataset for datasets with these characteristics:
- it has only one dimension, the dimension is UNLIMITED and is named "time"
- it has one coordinate variable, time(time), with units that
are udunits time units
- has the variables latitude(time), longitude(time), and altitude(time) with
units "deg", "deg", and "m", respectively.
- Since:
- Feb 22, 2005T5:37:14 PM
- Author:
- edavis
Fields inherited from class ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset |
elevVar, elevVarUnitsConversionFactor, latVar, lonVar, recordVar, timeDim, timeVar, timeVarUnitsString, trajectory, trajectoryId, trajectoryNumPoint, trajectoryVarsMap |
Methods inherited from class ucar.nc2.dt.TypedDatasetImpl |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setDescription, setLocationURI, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ucar.nc2.dt.TypedDataset |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle |
ZebraClassTrajectoryObsDataset
public ZebraClassTrajectoryObsDataset()
ZebraClassTrajectoryObsDataset
public ZebraClassTrajectoryObsDataset(NetcdfDataset ncd)
throws IOException
- Throws:
IOException
isValidFile
public static boolean isValidFile(NetcdfDataset ncd)
isMine
public boolean isMine(NetcdfDataset ds)
- Description copied from interface:
TypedDatasetFactoryIF
- Determine if this dataset belongs to you
- Specified by:
isMine
in interface TypedDatasetFactoryIF
- Parameters:
ds
- examine this NetcdfDataset to see if it belongs to this class.
- Returns:
- true if this class knows how to create a TypedDataset out of this NetcdfDataset.
open
public TypedDataset open(NetcdfDataset ncd,
CancelTask task,
StringBuilder errlog)
throws IOException
- Description copied from interface:
TypedDatasetFactoryIF
- Open a NetcdfDataset as a TypedDataset.
- Specified by:
open
in interface TypedDatasetFactoryIF
- Parameters:
ncd
- already opened NetcdfDataset.task
- use may cancelerrlog
- place errors here
- Returns:
- a subclass of TypedDataset
- Throws:
IOException
- on error
getScientificDataType
public FeatureType getScientificDataType()
- Description copied from interface:
TypedDatasetFactoryIF
- What kind of cientific data type will this return?
- Specified by:
getScientificDataType
in interface TypedDatasetFactoryIF
- Returns:
- scientific data type
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.