ucar.nc2.ft
Interface StationTimeSeriesFeature

All Superinterfaces:
Comparable<Station>, EarthLocation, FeatureCollection, PointFeatureCollection, Station
All Known Implementing Classes:
StationFeatureImpl

public interface StationTimeSeriesFeature
extends Station, PointFeatureCollection

Time series of PointFeature at a named location aka 'station'.

Author:
caron

Method Summary
 int size()
          The number of points in the time series.
 StationTimeSeriesFeature subset(DateRange dateRange)
          Subset this collection by dateRange
 
Methods inherited from interface ucar.unidata.geoloc.Station
getDescription, getName, getWmoId
 
Methods inherited from interface ucar.unidata.geoloc.EarthLocation
getAltitude, getLatitude, getLatLon, getLongitude, isMissing
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface ucar.nc2.ft.PointFeatureCollection
calcBounds, finish, getBoundingBox, getDateRange, getPointFeatureIterator, hasNext, next, resetIteration, setBoundingBox, setDateRange, setSize, subset
 
Methods inherited from interface ucar.nc2.ft.FeatureCollection
getCollectionFeatureType, getName
 

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 interface PointFeatureCollection
Returns:
number of points in the time series, or -1 if not known.

subset

StationTimeSeriesFeature subset(DateRange dateRange)
                                throws IOException
Subset this collection by dateRange

Parameters:
dateRange - only points in this date range. may be null.
Returns:
subsetted collection, may be null if empty
Throws:
IOException - on read error


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.