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 classTrajectoryObsDatasetImpl.ConfigDeprecated.Class Config _more_
-
Field Summary
Fields Modifier and Type Field Description protected ucar.nc2.VariabledimVarDeprecated._more_protected StringdimVarUnitsStringDeprecated._more_protected ucar.nc2.VariableelevVarDeprecated._more_protected doubleelevVarUnitsConversionFactorDeprecated._more_protected ucar.nc2.VariablelatVarDeprecated._more_protected ucar.nc2.VariablelonVarDeprecated._more_protected ucar.nc2.StructurerecordVarDeprecated._more_protected TrajectoryObsDatatypetrajectoryDeprecated._more_protected ucar.nc2.DimensiontrajectoryDimDeprecated._more_protected StringtrajectoryIdDeprecated._more_protected inttrajectoryNumPointDeprecated._more_protected HashMaptrajectoryVarsMapDeprecated._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(ucar.nc2.dataset.NetcdfDataset ncfile)Deprecated._more_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetDetailInfo()Deprecated._more_protected static doublegetMetersConversionFactor(String unitsString)Deprecated._more_ListgetTrajectories()Deprecated._more_TrajectoryObsDatatypegetTrajectory(String trajectoryId)Deprecated._more_ListgetTrajectoryIds()Deprecated._more_protected voidsetBoundingBox()Deprecated._more_voidsetTrajectoryInfo(TrajectoryObsDatasetImpl.Config trajConfig)Deprecated.Setup needed for all SingleTrajectoryObsDatatypes.booleansyncExtend()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 ucar.nc2.Dimension trajectoryDim
Deprecated._more_
-
dimVar
protected ucar.nc2.Variable dimVar
Deprecated._more_
-
recordVar
protected ucar.nc2.Structure recordVar
Deprecated._more_
-
latVar
protected ucar.nc2.Variable latVar
Deprecated._more_
-
lonVar
protected ucar.nc2.Variable lonVar
Deprecated._more_
-
elevVar
protected ucar.nc2.Variable elevVar
Deprecated._more_
-
dimVarUnitsString
protected String dimVarUnitsString
Deprecated._more_
-
elevVarUnitsConversionFactor
protected double elevVarUnitsConversionFactor
Deprecated._more_
-
trajectory
protected TrajectoryObsDatatype trajectory
Deprecated._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:
setBoundingBoxin classTypedDatasetImpl
-
getTrajectoryIds
public List getTrajectoryIds()
Deprecated._more_- Specified by:
getTrajectoryIdsin interfaceTrajectoryObsDataset- Returns:
- _more_
-
getTrajectories
public List getTrajectories()
Deprecated._more_- Specified by:
getTrajectoriesin interfaceTrajectoryObsDataset- Returns:
- _more_
-
getTrajectory
public TrajectoryObsDatatype getTrajectory(String trajectoryId)
Deprecated._more_- Specified by:
getTrajectoryin interfaceTrajectoryObsDataset- Parameters:
trajectoryId- _more_- Returns:
- _more_
-
getDetailInfo
public String getDetailInfo()
Deprecated._more_- Specified by:
getDetailInfoin interfaceTypedDataset- Overrides:
getDetailInfoin classTypedDatasetImpl- Returns:
- _more_
-
syncExtend
public boolean syncExtend()
Deprecated._more_- Specified by:
syncExtendin interfaceTrajectoryObsDataset- Returns:
- _more_
-
-