Package ucar.nc2.dt.trajectory
Class TrajectoryObsDatasetImpl
- java.lang.Object
-
- ucar.nc2.dt.TypedDatasetImpl
-
- ucar.nc2.dt.trajectory.TrajectoryObsDatasetImpl
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,TrajectoryObsDataset
,TypedDataset
- Direct Known Subclasses:
COSMICTrajectoryObsDataset
public abstract class TrajectoryObsDatasetImpl extends TypedDatasetImpl implements TrajectoryObsDataset
Deprecated.use ucar.nc2.ft.*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
Nested Classes Modifier and Type Class Description static class
TrajectoryObsDatasetImpl.Config
Deprecated.Class Config _more_
-
Field Summary
Fields Modifier and Type Field Description 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, netcdfDataset, parseInfo, startDate, title
-
-
Constructor Summary
Constructors Constructor Description TrajectoryObsDatasetImpl()
Deprecated._more_TrajectoryObsDatasetImpl(NetcdfDataset ncfile)
Deprecated._more_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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 classTypedDatasetImpl
-
getTrajectoryIds
public List getTrajectoryIds()
Deprecated._more_- Specified by:
getTrajectoryIds
in interfaceTrajectoryObsDataset
- Returns:
- _more_
-
getTrajectories
public List getTrajectories()
Deprecated._more_- Specified by:
getTrajectories
in interfaceTrajectoryObsDataset
- Returns:
- _more_
-
getTrajectory
public TrajectoryObsDatatype getTrajectory(String trajectoryId)
Deprecated._more_- Specified by:
getTrajectory
in interfaceTrajectoryObsDataset
- Parameters:
trajectoryId
- _more_- Returns:
- _more_
-
getDetailInfo
public String getDetailInfo()
Deprecated._more_- Specified by:
getDetailInfo
in interfaceTypedDataset
- Overrides:
getDetailInfo
in classTypedDatasetImpl
- Returns:
- _more_
-
syncExtend
public boolean syncExtend()
Deprecated._more_- Specified by:
syncExtend
in interfaceTrajectoryObsDataset
- Returns:
- _more_
-
-