public class CompositeStationCollection extends StationTimeSeriesCollectionImpl implements UpdateableCollection
| Modifier and Type | Field and Description |
|---|---|
protected List<VariableSimpleIF> |
dataVariables |
protected List<Attribute> |
globalAttributes |
localIterator, stationHelpernpts| Modifier | Constructor and Description |
|---|---|
protected |
CompositeStationCollection(String name,
TimedCollection dataCollection,
List<Station> stns,
List<VariableSimpleIF> dataVariables) |
| Modifier and Type | Method and Description |
|---|---|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
CalendarDateRange dateRange)
Flatten into a PointFeatureCollection, discarding connectedness information.
|
PointFeatureCollection |
flatten(List<String> stations,
CalendarDateRange dateRange,
List<VariableSimpleIF> varList)
Flatten into a PointFeatureCollection, discarding connectedness information.
|
List<VariableSimpleIF> |
getDataVariables() |
List<Attribute> |
getGlobalAttributes() |
PointFeatureCollectionIterator |
getPointFeatureCollectionIterator(int bufferSize)
Iterate through the collection, composed of PointFeatureCollection.
|
StationTimeSeriesFeature |
getStationFeature(Station s)
Get the collection of data for a particular Station.
|
protected void |
initStationHelper() |
StationTimeSeriesFeatureCollection |
subset(LatLonRect boundingBox)
Get a subsetted StationCollection from a LatLonRect
|
StationTimeSeriesFeatureCollection |
subset(List<Station> stations)
Get a subsetted StationCollection based on a list of Stations.
|
void |
update() |
finish, flatten, getBoundingBox, getNestedPointFeatureCollectionIterator, getStation, getStation, getStations, getStations, getStations, hasNext, next, resetIterationflatten, getCollectionFeatureType, getName, isMultipleNested, setSize, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflatten, isMultipleNested, sizegetCollectionFeatureType, getNameprotected List<VariableSimpleIF> dataVariables
protected CompositeStationCollection(String name, TimedCollection dataCollection, List<Station> stns, List<VariableSimpleIF> dataVariables) throws IOException
IOExceptionprotected void initStationHelper()
initStationHelper in class StationTimeSeriesCollectionImplpublic List<VariableSimpleIF> getDataVariables()
public void update()
update in interface UpdateableCollectionpublic StationTimeSeriesFeatureCollection subset(List<Station> stations) throws IOException
StationTimeSeriesFeatureCollectionsubset in interface StationTimeSeriesFeatureCollectionsubset in class StationTimeSeriesCollectionImplstations - only contain these stationsIOException - on i/o errorpublic StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
StationTimeSeriesFeatureCollectionsubset in interface NestedPointFeatureCollectionsubset in interface StationTimeSeriesFeatureCollectionsubset in class StationTimeSeriesCollectionImplboundingBox - spatial subset. may be nullIOException - on i/o errorpublic StationTimeSeriesFeature getStationFeature(Station s) throws IOException
StationTimeSeriesFeatureCollectiongetStationFeature in interface StationTimeSeriesFeatureCollectiongetStationFeature in class StationTimeSeriesCollectionImpls - get data for this station, must have come from this CollectionIOException - on i/o errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
NestedPointFeatureCollectionflatten in interface NestedPointFeatureCollectionflatten in class StationTimeSeriesCollectionImplboundingBox - only points in this lat/lon bounding box. may be null.dateRange - only points in this date range. may be null.IOException - on read errorpublic PointFeatureCollection flatten(List<String> stations, CalendarDateRange dateRange, List<VariableSimpleIF> varList) throws IOException
StationTimeSeriesFeatureCollectionflatten in interface StationTimeSeriesFeatureCollectionflatten in class StationTimeSeriesCollectionImplstations - only contain these stations; if null or empty use alldateRange - only points in this date range. may be null.varList - only these member variables. may be null. currently ignoredIOException - on read errorpublic PointFeatureCollectionIterator getPointFeatureCollectionIterator(int bufferSize) throws IOException
NestedPointFeatureCollectiongetPointFeatureCollectionIterator in interface NestedPointFeatureCollectiongetPointFeatureCollectionIterator in class StationTimeSeriesCollectionImplbufferSize - how many bytes can be used to buffer data, use -1 to use default.IOException - on read errorCopyright © 1999–2013 UCAR/Unidata. All rights reserved.