ucar.nc2.dt.trajectory
Class TrajectoryObsDatasetImpl

java.lang.Object
  extended by ucar.nc2.dt.TypedDatasetImpl
      extended by ucar.nc2.dt.trajectory.TrajectoryObsDatasetImpl
All Implemented Interfaces:
TrajectoryObsDataset, TypedDataset
Direct Known Subclasses:
COSMICTrajectoryObsDataset

Deprecated. use ucar.nc2.ft.*

public abstract class TrajectoryObsDatasetImpl
extends TypedDatasetImpl
implements TrajectoryObsDataset

Created by IntelliJ IDEA. User: yuanho Date: Jul 14, 2009 Time: 1:30:40 PM To change this template use File | Settings | File Templates.


Nested Class Summary
static class TrajectoryObsDatasetImpl.Config
          Deprecated. Class Config _more_
 
Field Summary
protected  Variable dimVar
          Deprecated. _more_
protected  String dimVarUnitsString
          Deprecated. _more_
protected  Variable elevVar
          Deprecated. _more_
protected  double elevVarUnitsConversionFactor
          Deprecated. _more_
protected  Variable latVar
          Deprecated. _more_
protected  Variable lonVar
          Deprecated. _more_
protected  Structure recordVar
          Deprecated. _more_
protected  TrajectoryObsDatatype trajectory
          Deprecated. _more_
protected  Dimension trajectoryDim
          Deprecated. _more_
protected  String trajectoryId
          Deprecated. _more_
protected  int trajectoryNumPoint
          Deprecated. _more_
protected  HashMap trajectoryVarsMap
          Deprecated. _more_
 
Fields inherited from class ucar.nc2.dt.TypedDatasetImpl
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title
 
Constructor Summary
TrajectoryObsDatasetImpl()
          Deprecated. _more_
TrajectoryObsDatasetImpl(NetcdfDataset ncfile)
          Deprecated. _more_
 
Method Summary
 String getDetailInfo()
          Deprecated. _more_
protected static double getMetersConversionFactor(String unitsString)
          Deprecated. _more_
 List getTrajectories()
          Deprecated. _more_
 TrajectoryObsDatatype getTrajectory(String trajectoryId)
          Deprecated. _more_
 List getTrajectoryIds()
          Deprecated. _more_
protected  void setBoundingBox()
          Deprecated. _more_
 void setTrajectoryInfo(TrajectoryObsDatasetImpl.Config trajConfig)
          Deprecated. Setup needed for all SingleTrajectoryObsDatatypes.
 boolean syncExtend()
          Deprecated. _more_
 
Methods inherited from class ucar.nc2.dt.TypedDatasetImpl
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setDescription, setEndDate, setLocationURI, setStartDate, 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
 

Field Detail

trajectoryId

protected String trajectoryId
Deprecated. 
_more_


trajectoryNumPoint

protected int trajectoryNumPoint
Deprecated. 
_more_


trajectoryVarsMap

protected HashMap trajectoryVarsMap
Deprecated. 
_more_


trajectoryDim

protected Dimension trajectoryDim
Deprecated. 
_more_


dimVar

protected Variable dimVar
Deprecated. 
_more_


recordVar

protected Structure recordVar
Deprecated. 
_more_


latVar

protected Variable latVar
Deprecated. 
_more_


lonVar

protected Variable lonVar
Deprecated. 
_more_


elevVar

protected Variable elevVar
Deprecated. 
_more_


dimVarUnitsString

protected String dimVarUnitsString
Deprecated. 
_more_


elevVarUnitsConversionFactor

protected double elevVarUnitsConversionFactor
Deprecated. 
_more_


trajectory

protected TrajectoryObsDatatype trajectory
Deprecated. 
_more_

Constructor Detail

TrajectoryObsDatasetImpl

public TrajectoryObsDatasetImpl()
Deprecated. 
_more_


TrajectoryObsDatasetImpl

public TrajectoryObsDatasetImpl(NetcdfDataset ncfile)
Deprecated. 
_more_

Parameters:
ncfile - _more_
Method Detail

setTrajectoryInfo

public void setTrajectoryInfo(TrajectoryObsDatasetImpl.Config trajConfig)
                       throws IOException
Deprecated. 
Setup needed for all SingleTrajectoryObsDatatypes. Can only be called once. Units of time varible must be udunits time units. Units of latitude variable must be convertible to "degrees_north" by udunits. Units of longitude variable must be convertible to "degrees_east" by udunits. Units of altitude variable must be convertible to "meters" by udunits.

Parameters:
trajConfig - _more_
Throws:
IllegalArgumentException - if units of time, latitude, longitude, or altitude variables are not as required.
IllegalStateException - if this method has already been called.
IOException - _more_

getMetersConversionFactor

protected static double getMetersConversionFactor(String unitsString)
                                           throws Exception
Deprecated. 
_more_

Parameters:
unitsString - _more_
Returns:
_more_
Throws:
Exception - _more_

setBoundingBox

protected void setBoundingBox()
Deprecated. 
_more_

Specified by:
setBoundingBox in class TypedDatasetImpl

getTrajectoryIds

public List getTrajectoryIds()
Deprecated. 
_more_

Specified by:
getTrajectoryIds in interface TrajectoryObsDataset
Returns:
_more_

getTrajectories

public List getTrajectories()
Deprecated. 
_more_

Specified by:
getTrajectories in interface TrajectoryObsDataset
Returns:
_more_

getTrajectory

public TrajectoryObsDatatype getTrajectory(String trajectoryId)
Deprecated. 
_more_

Specified by:
getTrajectory in interface TrajectoryObsDataset
Parameters:
trajectoryId - _more_
Returns:
_more_

getDetailInfo

public String getDetailInfo()
Deprecated. 
_more_

Specified by:
getDetailInfo in interface TypedDataset
Overrides:
getDetailInfo in class TypedDatasetImpl
Returns:
_more_

syncExtend

public boolean syncExtend()
Deprecated. 
_more_

Specified by:
syncExtend in interface TrajectoryObsDataset
Returns:
_more_


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.