public class SingleTrajectoryObsDataset extends TypedDatasetImpl implements TrajectoryObsDataset
time( time) - convertable to -> double lat( time) - convertable to -> double lon( time) - convertable to -> double elev( time) - convertable to -> double var1( time[, dim#]*) ... varN( time[, dim#]*)
Modifier and Type | Class and Description |
---|---|
static class |
SingleTrajectoryObsDataset.Config
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
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 java.lang.String |
timeVarUnitsString
Deprecated.
|
protected TrajectoryObsDatatype |
trajectory
Deprecated.
|
protected java.lang.String |
trajectoryId
Deprecated.
|
protected int |
trajectoryNumPoint
Deprecated.
|
protected java.util.HashMap |
trajectoryVarsMap
Deprecated.
|
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title
Constructor and Description |
---|
SingleTrajectoryObsDataset()
Deprecated.
|
SingleTrajectoryObsDataset(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(SingleTrajectoryObsDataset.Config trajConfig)
Deprecated.
Setup needed for all SingleTrajectoryObsDatatypes.
|
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, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle
protected java.lang.String trajectoryId
protected int trajectoryNumPoint
protected java.util.HashMap trajectoryVarsMap
protected Dimension timeDim
protected Variable timeVar
protected Structure recordVar
protected Variable latVar
protected Variable lonVar
protected Variable elevVar
protected java.lang.String timeVarUnitsString
protected double elevVarUnitsConversionFactor
protected TrajectoryObsDatatype trajectory
public SingleTrajectoryObsDataset()
public SingleTrajectoryObsDataset(NetcdfDataset ncfile)
public void setTrajectoryInfo(SingleTrajectoryObsDataset.Config trajConfig) throws java.io.IOException
java.lang.IllegalArgumentException
- if units of time, latitude, longitude, or altitude variables are not as required.java.lang.IllegalStateException
- if this method has already been called.java.io.IOException
protected static double getMetersConversionFactor(java.lang.String unitsString) throws java.lang.Exception
java.lang.Exception
protected void setStartDate()
setStartDate
in class TypedDatasetImpl
protected void setEndDate()
setEndDate
in class TypedDatasetImpl
protected void setBoundingBox()
setBoundingBox
in class TypedDatasetImpl
public java.util.List getTrajectoryIds()
TrajectoryObsDataset
getTrajectoryIds
in interface TrajectoryObsDataset
public java.util.List getTrajectories()
TrajectoryObsDataset
getTrajectories
in interface TrajectoryObsDataset
public TrajectoryObsDatatype getTrajectory(java.lang.String trajectoryId)
TrajectoryObsDataset
getTrajectory
in interface TrajectoryObsDataset
trajectoryId
- id of trajectorypublic java.lang.String getDetailInfo()
getDetailInfo
in interface TypedDataset
getDetailInfo
in class TypedDatasetImpl
public boolean syncExtend()
TrajectoryObsDataset
syncExtend
in interface TrajectoryObsDataset