|
||||||||||
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 | |
---|---|
List |
getData(List<Station> stations)
Get all data for a list of Stations. |
List |
getData(List<Station> stations,
CancelTask cancel)
Get all data for a list of Stations, allow user to cancel. |
List |
getData(List<Station> stations,
Date start,
Date end)
Get data for a list of Stations within the specified date range. |
List |
getData(List<Station> stations,
Date start,
Date end,
CancelTask cancel)
Get data for a list of Stations within the specified date range, allow user to cancel. |
List |
getData(Station s)
Get all data for this Station. |
List |
getData(Station s,
CancelTask cancel)
Get all data for this Station, allow user to cancel. |
List |
getData(Station s,
Date start,
Date end)
Get data for this Station within the specified date range. |
List |
getData(Station s,
Date start,
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,
Date start,
Date end)
Get data for this Station within the specified date range. |
Station |
getStation(String name)
Find a Station by name |
int |
getStationDataCount(Station s)
How many Data objects are available for this Station? |
List<Station> |
getStations()
Get all the Stations in the collection. |
List<Station> |
getStations(CancelTask cancel)
Get all the Stations in the collection, allow user to cancel. |
List<Station> |
getStations(LatLonRect boundingBox)
Get all the Stations within a bounding box. |
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 |
---|
List<Station> getStations() throws IOException
IOException
- on io errorList<Station> getStations(CancelTask cancel) throws IOException
cancel
- allow user to cancel. Implementors should return ASAP.
IOException
- on io errorList<Station> getStations(LatLonRect boundingBox) throws IOException
boundingBox
- restrict data to this bounding nox
IOException
- on io errorList<Station> getStations(LatLonRect boundingBox, CancelTask cancel) throws IOException
boundingBox
- restrict data to this bounding noxcancel
- allow user to cancel. Implementors should return ASAP.
IOException
- on io errorStation getStation(String name)
name
- find this name
int getStationDataCount(Station s)
s
- station
List getData(Station s) throws IOException
s
- for this Station
IOException
- on io errorList getData(Station s, CancelTask cancel) throws IOException
s
- for this Stationcancel
- allow user to cancel. Implementors should return ASAP.
IOException
- on io errorList getData(Station s, Date start, Date end) throws IOException
s
- for this Stationstart
- restrict data to after this timeend
- restrict data to before this time
IOException
- on io errorList getData(Station s, Date start, Date end, CancelTask cancel) throws 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.
IOException
- on io errorList getData(List<Station> stations) throws IOException
stations
- for these Stations
IOException
- on io erroras a (possibly) more efficient alternative
List getData(List<Station> stations, CancelTask cancel) throws IOException
stations
- for these Stationscancel
- allow user to cancel. Implementors should return ASAP.
IOException
- on io erroras a (possibly) more efficient alternative
List getData(List<Station> stations, Date start, Date end) throws IOException
stations
- for these Stationsstart
- restrict data to after this timeend
- restrict data to before this time
IOException
- on io erroras a (possibly) more efficient alternative
List getData(List<Station> stations, Date start, Date end, CancelTask cancel) throws 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.
IOException
- on io erroras a (possibly) more efficient alternative
DataIterator getDataIterator(Station s)
s
- for this Station
DataIterator getDataIterator(Station s, Date start, 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 |