ucar.nc2.dt.trajectory
Class SimpleTrajectoryObsDataset

java.lang.Object
  extended by ucar.nc2.dt.TypedDatasetImpl
      extended by ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset
          extended by ucar.nc2.dt.trajectory.SimpleTrajectoryObsDataset
All Implemented Interfaces:
TrajectoryObsDataset, TypedDataset, TypedDatasetFactoryIF

public class SimpleTrajectoryObsDataset
extends SingleTrajectoryObsDataset
implements TypedDatasetFactoryIF

Implements TrajectoryDataset for datasets with these characteristics:

Since:
Feb 22, 2005T5:37:14 PM
Author:
edavis

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset
SingleTrajectoryObsDataset.Config
 
Field Summary
 
Fields inherited from class ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset
elevVar, elevVarUnitsConversionFactor, latVar, lonVar, recordVar, timeDim, timeVar, timeVarUnitsString, trajectory, trajectoryId, trajectoryNumPoint, trajectoryVarsMap
 
Fields inherited from class ucar.nc2.dt.TypedDatasetImpl
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title
 
Constructor Summary
SimpleTrajectoryObsDataset()
           
SimpleTrajectoryObsDataset(NetcdfDataset ncd)
           
 
Method Summary
 FeatureType getScientificDataType()
          What kind of cientific data type will this return?
 boolean isMine(NetcdfDataset ds)
          Determine if this dataset belongs to you
static boolean isValidFile(NetcdfDataset ncd)
           
 TypedDataset open(NetcdfDataset ncd, CancelTask task, StringBuilder errlog)
          Open a NetcdfDataset as a TypedDataset.
 
Methods inherited from class ucar.nc2.dt.trajectory.SingleTrajectoryObsDataset
getDetailInfo, getMetersConversionFactor, getTrajectories, getTrajectory, getTrajectoryIds, setBoundingBox, setEndDate, setStartDate, setTrajectoryInfo, syncExtend
 
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
 

Constructor Detail

SimpleTrajectoryObsDataset

public SimpleTrajectoryObsDataset()

SimpleTrajectoryObsDataset

public SimpleTrajectoryObsDataset(NetcdfDataset ncd)
                           throws IOException
Throws:
IOException
Method Detail

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 cancel
errlog - 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.