|
|||||||||
| 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 endpoint
protected 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 StationTimeSeriesFeatureCollectiongetStation in class StationTimeSeriesCollectionImplfeature - PointFeature obtained from a StationTimeSeriesFeature in this collection
IOException - on i/o error
public StationTimeSeriesFeatureCollection subset(List<Station> stations)
throws IOException
StationTimeSeriesFeatureCollection
subset in interface StationTimeSeriesFeatureCollectionsubset in class StationTimeSeriesCollectionImplstations - only contain these stations
IOException - on i/o error
public StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox)
throws IOException
StationTimeSeriesFeatureCollection
subset in interface NestedPointFeatureCollectionsubset in interface StationTimeSeriesFeatureCollectionsubset in class StationTimeSeriesCollectionImplboundingBox - spatial subset. may be null
IOException - on i/o error
public PointFeatureCollection flatten(LatLonRect boundingBox,
DateRange dateRange)
throws IOException
NestedPointFeatureCollection
flatten 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 error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||