public class MultiTrajectoryObsDataset extends TypedDatasetImpl implements TrajectoryObsDataset
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#]*)
| Modifier and Type | Field and Description |
|---|---|
protected ucar.nc2.Variable |
elevVar
Deprecated.
|
protected double |
elevVarUnitsConversionFactor
Deprecated.
|
protected ucar.nc2.Variable |
latVar
Deprecated.
|
protected ucar.nc2.Variable |
lonVar
Deprecated.
|
protected ucar.nc2.Structure |
recordVar
Deprecated.
|
protected ucar.nc2.Dimension |
timeDim
Deprecated.
|
protected ucar.nc2.Variable |
timeVar
Deprecated.
|
protected java.lang.String |
timeVarUnitsString
Deprecated.
|
protected ucar.nc2.Dimension |
trajDim
Deprecated.
|
protected java.util.List |
trajectories
Deprecated.
|
protected java.util.HashMap |
trajectoriesMap
Deprecated.
|
protected java.util.List |
trajectoryIds
Deprecated.
|
protected int |
trajectoryNumPoint
Deprecated.
|
protected java.util.HashMap |
trajectoryVarsMap
Deprecated.
|
protected ucar.nc2.Variable |
trajVar
Deprecated.
|
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title| Constructor and Description |
|---|
MultiTrajectoryObsDataset()
Deprecated.
|
MultiTrajectoryObsDataset(ucar.nc2.dataset.NetcdfDataset ncfile)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDetailInfo()
Deprecated.
|
protected static double |
getMetersConversionFactor(java.lang.String unitsString)
Deprecated.
|
java.util.List |
getTrajectories()
Deprecated.
Get trajectories contained in this dataset.
|
TrajectoryObsDatatype |
getTrajectory(java.lang.String trajectoryId)
Deprecated.
Get the named trajectory
|
java.util.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(ucar.nc2.Dimension trajDim,
ucar.nc2.Variable trajVar,
ucar.nc2.Dimension timeDim,
ucar.nc2.Variable timeVar,
ucar.nc2.Variable latVar,
ucar.nc2.Variable lonVar,
ucar.nc2.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).
|
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setDescription, setLocationURI, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitleprotected ucar.nc2.Dimension trajDim
protected ucar.nc2.Variable trajVar
protected ucar.nc2.Dimension timeDim
protected ucar.nc2.Variable timeVar
protected ucar.nc2.Structure recordVar
protected ucar.nc2.Variable latVar
protected ucar.nc2.Variable lonVar
protected ucar.nc2.Variable elevVar
protected java.lang.String timeVarUnitsString
protected double elevVarUnitsConversionFactor
protected java.util.List trajectoryIds
protected java.util.List trajectories
protected java.util.HashMap trajectoriesMap
protected int trajectoryNumPoint
protected java.util.HashMap trajectoryVarsMap
public MultiTrajectoryObsDataset()
public MultiTrajectoryObsDataset(ucar.nc2.dataset.NetcdfDataset ncfile)
public void setTrajectoryInfo(ucar.nc2.Dimension trajDim,
ucar.nc2.Variable trajVar,
ucar.nc2.Dimension timeDim,
ucar.nc2.Variable timeVar,
ucar.nc2.Variable latVar,
ucar.nc2.Variable lonVar,
ucar.nc2.Variable elevVar)
throws java.io.IOException
java.lang.IllegalArgumentException - if units of time, latitude, longitude, or altitude variables are not as required.java.io.IOExceptionprotected static double getMetersConversionFactor(java.lang.String unitsString)
throws java.lang.Exception
java.lang.Exceptionpublic boolean syncExtend()
TrajectoryObsDatasetsyncExtend in interface TrajectoryObsDatasetprotected void setStartDate()
setStartDate in class TypedDatasetImplprotected void setEndDate()
setEndDate in class TypedDatasetImplprotected void setBoundingBox()
setBoundingBox in class TypedDatasetImplpublic java.util.List getTrajectoryIds()
TrajectoryObsDatasetgetTrajectoryIds in interface TrajectoryObsDatasetpublic java.util.List getTrajectories()
TrajectoryObsDatasetgetTrajectories in interface TrajectoryObsDatasetpublic TrajectoryObsDatatype getTrajectory(java.lang.String trajectoryId)
TrajectoryObsDatasetgetTrajectory in interface TrajectoryObsDatasettrajectoryId - id of trajectorypublic java.lang.String getDetailInfo()
getDetailInfo in interface TypedDatasetgetDetailInfo in class TypedDatasetImpl