Package ucar.nc2.ft
Interface StationTimeSeriesFeature
-
- All Superinterfaces:
Comparable<Station>
,DsgFeatureCollection
,EarthLocation
,Iterable<PointFeature>
,PointFeatureCollection
,Station
,StationFeature
- All Known Implementing Classes:
StationTimeSeriesFeatureImpl
,StationTimeSeriesFeatureImpl.StationFeatureSubset
public interface StationTimeSeriesFeature extends StationFeature, PointFeatureCollection
Time series of PointFeature at a named location aka 'station'.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StructureData
getFeatureData()
The actual data of just this StationTimeSeries feature.int
size()
The number of points in the time series.StationTimeSeriesFeature
subset(CalendarDateRange dateRange)
Subset this collection by calendar dateRange-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit
-
Methods inherited from interface ucar.unidata.geoloc.EarthLocation
getAltitude, getLatitude, getLatLon, getLongitude, isMissing
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface ucar.nc2.ft.PointFeatureCollection
finish, getPointFeatureIterator, hasNext, next, resetIteration, subset
-
Methods inherited from interface ucar.unidata.geoloc.Station
getDescription, getName, getNobs, getWmoId
-
-
-
-
Method Detail
-
size
int size()
The number of points in the time series. May not be known until after iterating through the collection.- Specified by:
size
in interfaceDsgFeatureCollection
- Returns:
- number of points in the time series, or -1 if not known.
-
subset
StationTimeSeriesFeature subset(CalendarDateRange dateRange)
Subset this collection by calendar dateRange- Parameters:
dateRange
- only points in this date range. may be null.- Returns:
- subsetted collection, may be null if empty
-
getFeatureData
@Nonnull StructureData getFeatureData() throws IOException
The actual data of just this StationTimeSeries feature.- Specified by:
getFeatureData
in interfaceStationFeature
- Returns:
- the actual data associated with this StationTimeSeries
- Throws:
IOException
- on i/o error
-
-