|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.ft.point.OneNestedPointCollectionImpl
ucar.nc2.ft.point.StationTimeSeriesCollectionImpl
ucar.nc2.ft.point.remote.RemoteStationCollection
public class RemoteStationCollection
Connect to remote Station Collection using cdmremote
Field Summary | |
---|---|
protected LatLonRect |
boundingBoxSubset
|
protected DateRange |
dateRangeSubset
|
Fields inherited from class ucar.nc2.ft.point.StationTimeSeriesCollectionImpl |
---|
localIterator, stationHelper |
Fields inherited from class ucar.nc2.ft.point.OneNestedPointCollectionImpl |
---|
npts |
Constructor Summary | |
---|---|
|
RemoteStationCollection(String uri)
Constructor. |
protected |
RemoteStationCollection(String uri,
StationHelper sh)
Constructor for a subset. |
Method Summary | |
---|---|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
DateRange dateRange)
Flatten into a PointFeatureCollection, discarding connectedness information. |
Station |
getStation(PointFeature feature)
Get the station that belongs to this feature |
protected void |
initStationHelper()
initialize the stationHelper. |
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. |
Methods inherited from class ucar.nc2.ft.point.StationTimeSeriesCollectionImpl |
---|
finish, flatten, getBoundingBox, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, getStation, getStationFeature, getStations, getStations, getStations, hasNext, next, resetIteration |
Methods inherited from class ucar.nc2.ft.point.OneNestedPointCollectionImpl |
---|
getCollectionFeatureType, getName, isMultipleNested, setSize, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ucar.nc2.ft.NestedPointFeatureCollection |
---|
isMultipleNested, size |
Methods inherited from interface ucar.nc2.ft.FeatureCollection |
---|
getCollectionFeatureType, getName |
Field Detail |
---|
protected LatLonRect boundingBoxSubset
protected DateRange dateRangeSubset
Constructor Detail |
---|
public RemoteStationCollection(String uri)
uri
- cdmremote endpointprotected RemoteStationCollection(String uri, StationHelper sh)
uri
- cdmremote endpointsh
- station Helper subset or null.Method Detail |
---|
protected void initStationHelper()
initStationHelper
in class StationTimeSeriesCollectionImpl
public Station getStation(PointFeature feature) throws IOException
StationTimeSeriesFeatureCollection
getStation
in interface StationTimeSeriesFeatureCollection
getStation
in class StationTimeSeriesCollectionImpl
feature
- PointFeature obtained from a StationTimeSeriesFeature in this collection
IOException
- on i/o errorpublic StationTimeSeriesFeatureCollection subset(List<Station> stations) throws IOException
StationTimeSeriesFeatureCollection
subset
in interface StationTimeSeriesFeatureCollection
subset
in class StationTimeSeriesCollectionImpl
stations
- only contain these stations
IOException
- on i/o errorpublic StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
StationTimeSeriesFeatureCollection
subset
in interface NestedPointFeatureCollection
subset
in interface StationTimeSeriesFeatureCollection
subset
in class StationTimeSeriesCollectionImpl
boundingBox
- spatial subset. may be null
IOException
- on i/o errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, DateRange dateRange) throws IOException
NestedPointFeatureCollection
flatten
in interface NestedPointFeatureCollection
flatten
in class StationTimeSeriesCollectionImpl
boundingBox
- only points in this lat/lon bounding box. may be null.dateRange
- only points in this date range. may be null.
IOException
- on read error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |