|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.trajectory.MultiTrajectoryObsDataset
public class MultiTrajectoryObsDataset
Superclass for for implementations of TrajectoryObsDataset using a NetcdfFile underneath that contains multiple trajectories. The file must have two coordinate variables one over time and one over the multiple trajectories, the time dimension may be UNLIMITED (if time is not UNLIMITED, there must be no UNLIMITED dimension). The file must also have a latitude variable, a longitude variable, and an elevation variable each over the time and trajectory dimension. All other trajectory variables must be on the time and trajectory dimension with other dimensions as needed. For instance:
traj( traj) - convertable to -> String time( time) - convertable to -> double lat( time, traj) - convertable to -> double lon( time, traj) - convertable to -> double elev( time, traj) - convertable to -> double var1( time, traj[, dim#]*) ... varM( time, traj[, dim#]*)
Field Summary | |
---|---|
protected Variable |
elevVar
Deprecated. |
protected double |
elevVarUnitsConversionFactor
Deprecated. |
protected Variable |
latVar
Deprecated. |
protected Variable |
lonVar
Deprecated. |
protected Structure |
recordVar
Deprecated. |
protected Dimension |
timeDim
Deprecated. |
protected Variable |
timeVar
Deprecated. |
protected String |
timeVarUnitsString
Deprecated. |
protected Dimension |
trajDim
Deprecated. |
protected List |
trajectories
Deprecated. |
protected HashMap |
trajectoriesMap
Deprecated. |
protected List |
trajectoryIds
Deprecated. |
protected int |
trajectoryNumPoint
Deprecated. |
protected HashMap |
trajectoryVarsMap
Deprecated. |
protected Variable |
trajVar
Deprecated. |
Fields inherited from class ucar.nc2.dt.TypedDatasetImpl |
---|
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title |
Constructor Summary | |
---|---|
MultiTrajectoryObsDataset()
Deprecated. |
|
MultiTrajectoryObsDataset(NetcdfDataset ncfile)
Deprecated. |
Method Summary | |
---|---|
String |
getDetailInfo()
Deprecated. |
protected static double |
getMetersConversionFactor(String unitsString)
Deprecated. |
List |
getTrajectories()
Deprecated. Get trajectories contained in this dataset. |
TrajectoryObsDatatype |
getTrajectory(String trajectoryId)
Deprecated. Get the named trajectory |
List |
getTrajectoryIds()
Deprecated. Get a list of String IDs for the available trajectories. |
protected void |
setBoundingBox()
Deprecated. |
protected void |
setEndDate()
Deprecated. |
protected void |
setStartDate()
Deprecated. |
void |
setTrajectoryInfo(Dimension trajDim,
Variable trajVar,
Dimension timeDim,
Variable timeVar,
Variable latVar,
Variable lonVar,
Variable elevVar)
Deprecated. Setup needed for all MultiTrajectoryObsDatatypes. |
boolean |
syncExtend()
Deprecated. Syncronize with the underlying dataset if it has been extended in a way that is compatible with the existing structural metadata (for instance, if the unlimited dimension has grown). |
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 |
Field Detail |
---|
protected Dimension trajDim
protected Variable trajVar
protected Dimension timeDim
protected Variable timeVar
protected Structure recordVar
protected Variable latVar
protected Variable lonVar
protected Variable elevVar
protected String timeVarUnitsString
protected double elevVarUnitsConversionFactor
protected List trajectoryIds
protected List trajectories
protected HashMap trajectoriesMap
protected int trajectoryNumPoint
protected HashMap trajectoryVarsMap
Constructor Detail |
---|
public MultiTrajectoryObsDataset()
public MultiTrajectoryObsDataset(NetcdfDataset ncfile)
Method Detail |
---|
public void setTrajectoryInfo(Dimension trajDim, Variable trajVar, Dimension timeDim, Variable timeVar, Variable latVar, Variable lonVar, Variable elevVar) throws IOException
IllegalArgumentException
- if units of time, latitude, longitude, or altitude variables are not as required.
IOException
protected static double getMetersConversionFactor(String unitsString) throws Exception
Exception
public boolean syncExtend()
TrajectoryObsDataset
syncExtend
in interface TrajectoryObsDataset
protected void setStartDate()
setStartDate
in class TypedDatasetImpl
protected void setEndDate()
setEndDate
in class TypedDatasetImpl
protected void setBoundingBox()
setBoundingBox
in class TypedDatasetImpl
public List getTrajectoryIds()
TrajectoryObsDataset
getTrajectoryIds
in interface TrajectoryObsDataset
public List getTrajectories()
TrajectoryObsDataset
getTrajectories
in interface TrajectoryObsDataset
public TrajectoryObsDatatype getTrajectory(String trajectoryId)
TrajectoryObsDataset
getTrajectory
in interface TrajectoryObsDataset
trajectoryId
- id of trajectory
public String getDetailInfo()
getDetailInfo
in interface TypedDataset
getDetailInfo
in class TypedDatasetImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |