Package ucar.nc2.ft
Interface TrajectoryFeature
-
- All Superinterfaces:
DsgFeatureCollection,Iterable<PointFeature>,PointFeatureCollection
- All Known Implementing Classes:
TrajectoryFeatureImpl
public interface TrajectoryFeature extends PointFeatureCollection
A set of observations along a 1 dimensional path, connected in space and time. The observations are ordered in time (in other words, the time dimension must increase monotonically along the trajectory).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LatLonRectgetBoundingBox()BoundingBox for the trajectory.CalendarDateRangegetCalendarDateRange()DateRange for the points along the trajectory.StructureDatagetFeatureData()The actual data of just this Trajectory feature.intsize()The number of points along the trajectory.-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltName, getAltUnits, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface ucar.nc2.ft.PointFeatureCollection
finish, getPointFeatureIterator, hasNext, next, resetIteration, subset
-
-
-
-
Method Detail
-
size
int size()
The number of points along the trajectory. May not be known until after iterating through the collection.- Specified by:
sizein interfaceDsgFeatureCollection- Returns:
- number of points along the trajectory, or -1 if not known.
-
getCalendarDateRange
CalendarDateRange getCalendarDateRange()
DateRange for the points along the trajectory. May not be known until after iterating through the collection.- Specified by:
getCalendarDateRangein interfaceDsgFeatureCollection- Returns:
- stating date for the trajectory, or null if not known
-
getBoundingBox
LatLonRect getBoundingBox()
BoundingBox for the trajectory. May not be known until after iterating through the collection.- Specified by:
getBoundingBoxin interfaceDsgFeatureCollection- Returns:
- BoundingBox for the trajectory, or null if not known.
-
getFeatureData
@Nonnull StructureData getFeatureData() throws IOException
The actual data of just this Trajectory feature.- Returns:
- the actual data of this Trajectory, may not be null but may be empty.
- Throws:
IOException
-
-