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 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 String |
timeVarUnitsString
Deprecated.
|
protected TrajectoryObsDatatype |
trajectory
Deprecated.
|
protected String |
trajectoryId
Deprecated.
|
protected int |
trajectoryNumPoint
Deprecated.
|
protected HashMap |
trajectoryVarsMap
Deprecated.
|
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title| Constructor and Description |
|---|
SingleTrajectoryObsDataset()
Deprecated.
|
SingleTrajectoryObsDataset(ucar.nc2.dataset.NetcdfDataset ncfile)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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(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, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitleprotected String trajectoryId
protected int trajectoryNumPoint
protected HashMap trajectoryVarsMap
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 String timeVarUnitsString
protected double elevVarUnitsConversionFactor
protected TrajectoryObsDatatype trajectory
public SingleTrajectoryObsDataset()
public SingleTrajectoryObsDataset(ucar.nc2.dataset.NetcdfDataset ncfile)
public void setTrajectoryInfo(SingleTrajectoryObsDataset.Config trajConfig) throws IOException
IllegalArgumentException - if units of time, latitude, longitude, or altitude variables are not as required.IllegalStateException - if this method has already been called.IOExceptionprotected static double getMetersConversionFactor(String unitsString) throws Exception
Exceptionprotected void setStartDate()
setStartDate in class TypedDatasetImplprotected void setEndDate()
setEndDate in class TypedDatasetImplprotected void setBoundingBox()
setBoundingBox in class TypedDatasetImplpublic List getTrajectoryIds()
TrajectoryObsDatasetgetTrajectoryIds in interface TrajectoryObsDatasetpublic List getTrajectories()
TrajectoryObsDatasetgetTrajectories in interface TrajectoryObsDatasetpublic TrajectoryObsDatatype getTrajectory(String trajectoryId)
TrajectoryObsDatasetgetTrajectory in interface TrajectoryObsDatasettrajectoryId - id of trajectorypublic String getDetailInfo()
getDetailInfo in interface TypedDatasetgetDetailInfo in class TypedDatasetImplpublic boolean syncExtend()
TrajectoryObsDatasetsyncExtend in interface TrajectoryObsDataset