public interface TrajectoryObsDatatype
Modifier and Type | Method and Description |
---|---|
LatLonRect |
getBoundingBox()
Deprecated.
BoundingBox for the trajectory.
|
StructureData |
getData(int point)
Deprecated.
Get values for all parameters (except time, lat, lon, and elev) at the requested
trajectory point.
|
Array |
getData(int point,
java.lang.String parameterName)
Deprecated.
|
Array |
getData(Range range,
java.lang.String parameterName)
Deprecated.
Get the values of the requested parameter on the given Range of the trajectory.
|
DataIterator |
getDataIterator(int bufferSize)
Deprecated.
Get an efficient iterator over all the data in the Trajectory in time order.
|
VariableSimpleIF |
getDataVariable(java.lang.String name)
Deprecated.
Get the named data Variable.
|
java.util.List |
getDataVariables()
Deprecated.
Return a list of the data Variables available in this dataset.
|
java.lang.String |
getDescription()
Deprecated.
A description of the trajectory.
|
double |
getElevation(int point)
Deprecated.
Return the elevation at the requested trajectory point in units of meters, missing values = NaN.
|
Array |
getElevation(Range range)
Deprecated.
Get the elevation values on the given Range of the trajectory.
|
java.util.Date |
getEndDate()
Deprecated.
End date for the trajectory.
|
Range |
getFullRange()
Deprecated.
Get the range for the entire trajectory.
|
java.lang.String |
getId()
Deprecated.
The ID of the trajectory, may not be null.
|
double |
getLatitude(int point)
Deprecated.
Return the latitude at the requested trajectory point in units of "degrees_north".
|
Array |
getLatitude(Range range)
Deprecated.
Get the latitude values on the given Range of the trajectory.
|
EarthLocation |
getLocation(int point)
Deprecated.
Return the location for the given point.
|
double |
getLongitude(int point)
Deprecated.
Return the longitude at the requested trajectory point in units of "degrees_east".
|
Array |
getLongitude(Range range)
Deprecated.
Get the longitude values on the given Range of the trajectory.
|
int |
getNumberPoints()
Deprecated.
The number of points along the trajectory.
|
PointObsDatatype |
getPointObsData(int point)
Deprecated.
Get a PointObsDatatype for the requested trajectory point.
|
Range |
getPointRange(int point)
Deprecated.
Get a range for a single point in the trajectory.
|
Range |
getRange(int start,
int end,
int stride)
Deprecated.
Get a range with the given start, end, and stride in the trajectory.
|
java.util.Date |
getStartDate()
Deprecated.
Start date for the trajectory.
|
java.util.Date |
getTime(int point)
Deprecated.
Return the time for the given point as a java.util.Date.
|
Array |
getTime(Range range)
Deprecated.
Get the time values on the given Range of the trajectory.
|
java.lang.String |
getTimeUnitsIdentifier()
Deprecated.
Return the String representation of the units for time.
|
double |
getTimeValue(int point)
Deprecated.
Return the time for the given point as a double in the units given by getTimeUnitsIdentifier().
|
java.lang.String getId()
java.lang.String getDescription()
int getNumberPoints()
java.util.List getDataVariables()
VariableSimpleIF getDataVariable(java.lang.String name)
name
- of data Variable.PointObsDatatype getPointObsData(int point) throws java.io.IOException
point
- the point along the trajectoryjava.io.IOException
java.util.Date getStartDate()
java.util.Date getEndDate()
LatLonRect getBoundingBox()
java.util.Date getTime(int point) throws java.io.IOException
java.io.IOException
EarthLocation getLocation(int point) throws java.io.IOException
java.io.IOException
double getTimeValue(int point) throws java.io.IOException
java.io.IOException
java.lang.String getTimeUnitsIdentifier()
double getLatitude(int point) throws java.io.IOException
java.io.IOException
double getLongitude(int point) throws java.io.IOException
java.io.IOException
double getElevation(int point) throws java.io.IOException
java.io.IOException
StructureData getData(int point) throws java.io.IOException, InvalidRangeException
point
- the index point into the trajectoryjava.io.IOException
- if problems reading data.InvalidRangeException
Array getData(int point, java.lang.String parameterName) throws java.io.IOException
java.io.IOException
DataIterator getDataIterator(int bufferSize) throws java.io.IOException
This is accomplished by buffering bufferSize amount of data at once. You must fully process the data, or copy it out of the StructureData, as you iterate over it, in order for the garbage collector to work.
We dont need a cancelTask, just stop the iteration if the user want to cancel.
bufferSize
- if > 0, the internal buffer size, else use the default. Typically 100k - 1M for best results.java.io.IOException
Range getFullRange()
Range getPointRange(int point) throws InvalidRangeException
InvalidRangeException
Range getRange(int start, int end, int stride) throws InvalidRangeException
InvalidRangeException
Array getTime(Range range) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException
Array getLatitude(Range range) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException
Array getLongitude(Range range) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException
Array getElevation(Range range) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException
Array getData(Range range, java.lang.String parameterName) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException