|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StationCollection
A collection of data at unconnected station locations, typically time series. User can subset by stations, bounding box and by date range. Underlying data can be of any type, but all points have the same type.
Method Summary | |
---|---|
java.util.List |
getData(java.util.List<Station> stations)
Get all data for a list of Stations. |
java.util.List |
getData(java.util.List<Station> stations,
CancelTask cancel)
Get all data for a list of Stations, allow user to cancel. |
java.util.List |
getData(java.util.List<Station> stations,
java.util.Date start,
java.util.Date end)
Get data for a list of Stations within the specified date range. |
java.util.List |
getData(java.util.List<Station> stations,
java.util.Date start,
java.util.Date end,
CancelTask cancel)
Get data for a list of Stations within the specified date range, allow user to cancel. |
java.util.List |
getData(Station s)
Get all data for this Station. |
java.util.List |
getData(Station s,
CancelTask cancel)
Get all data for this Station, allow user to cancel. |
java.util.List |
getData(Station s,
java.util.Date start,
java.util.Date end)
Get data for this Station within the specified date range. |
java.util.List |
getData(Station s,
java.util.Date start,
java.util.Date end,
CancelTask cancel)
Get data for this Station within the specified date range, allow user to cancel. |
DataIterator |
getDataIterator(Station s)
Get all data for this Station. |
DataIterator |
getDataIterator(Station s,
java.util.Date start,
java.util.Date end)
Get data for this Station within the specified date range. |
Station |
getStation(java.lang.String name)
Find a Station by name |
int |
getStationDataCount(Station s)
How many Data objects are available for this Station? |
java.util.List<Station> |
getStations()
Get all the Stations in the collection. |
java.util.List<Station> |
getStations(CancelTask cancel)
Get all the Stations in the collection, allow user to cancel. |
java.util.List<Station> |
getStations(LatLonRect boundingBox)
Get all the Stations within a bounding box. |
java.util.List<Station> |
getStations(LatLonRect boundingBox,
CancelTask cancel)
Get all the Stations within a bounding box, allow user to cancel. |
Methods inherited from interface ucar.nc2.dt.PointCollection |
---|
getData, getData, getData, getData, getData, getData, getDataClass, getDataCount, getDataIterator, getTimeUnits |
Method Detail |
---|
java.util.List<Station> getStations() throws java.io.IOException
java.io.IOException
- on io errorjava.util.List<Station> getStations(CancelTask cancel) throws java.io.IOException
cancel
- allow user to cancel. Implementors should return ASAP.
java.io.IOException
- on io errorjava.util.List<Station> getStations(LatLonRect boundingBox) throws java.io.IOException
boundingBox
- restrict data to this bounding nox
java.io.IOException
- on io errorjava.util.List<Station> getStations(LatLonRect boundingBox, CancelTask cancel) throws java.io.IOException
boundingBox
- restrict data to this bounding noxcancel
- allow user to cancel. Implementors should return ASAP.
java.io.IOException
- on io errorStation getStation(java.lang.String name)
name
- find this name
int getStationDataCount(Station s)
s
- station
java.util.List getData(Station s) throws java.io.IOException
s
- for this Station
java.io.IOException
- on io errorjava.util.List getData(Station s, CancelTask cancel) throws java.io.IOException
s
- for this Stationcancel
- allow user to cancel. Implementors should return ASAP.
java.io.IOException
- on io errorjava.util.List getData(Station s, java.util.Date start, java.util.Date end) throws java.io.IOException
s
- for this Stationstart
- restrict data to after this timeend
- restrict data to before this time
java.io.IOException
- on io errorjava.util.List getData(Station s, java.util.Date start, java.util.Date end, CancelTask cancel) throws java.io.IOException
s
- for this Stationstart
- restrict data to after this timeend
- restrict data to before this timecancel
- allow user to cancel. Implementors should return ASAP.
java.io.IOException
- on io errorjava.util.List getData(java.util.List<Station> stations) throws java.io.IOException
stations
- for these Stations
java.io.IOException
- on io erroras a (possibly) more efficient alternative
java.util.List getData(java.util.List<Station> stations, CancelTask cancel) throws java.io.IOException
stations
- for these Stationscancel
- allow user to cancel. Implementors should return ASAP.
java.io.IOException
- on io erroras a (possibly) more efficient alternative
java.util.List getData(java.util.List<Station> stations, java.util.Date start, java.util.Date end) throws java.io.IOException
stations
- for these Stationsstart
- restrict data to after this timeend
- restrict data to before this time
java.io.IOException
- on io erroras a (possibly) more efficient alternative
java.util.List getData(java.util.List<Station> stations, java.util.Date start, java.util.Date end, CancelTask cancel) throws java.io.IOException
stations
- for these Stationsstart
- restrict data to after this timeend
- restrict data to before this timecancel
- allow user to cancel. Implementors should return ASAP.
java.io.IOException
- on io erroras a (possibly) more efficient alternative
DataIterator getDataIterator(Station s)
s
- for this Station
DataIterator getDataIterator(Station s, java.util.Date start, java.util.Date end)
s
- for this Stationstart
- restrict data to after this timeend
- restrict data to before this time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |