public class StationDatasetCollection extends Object
| Constructor and Description |
|---|
StationDatasetCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String location) |
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
|
List |
getStations()
Get all the Stations in the collection.
|
List |
getStations(LatLonRect boundingBox)
Get all the Stations within a bounding box.
|
static void |
main(String[] args) |
public void add(String location) throws IOException
IOExceptionpublic List getStations() throws IOException
IOException - I/O errorpublic List getStations(LatLonRect boundingBox) throws IOException
boundingBox - within this bounding boxIOException - I/O errorpublic Station getStation(String name)
name - name of the Stationpublic DataIterator getDataIterator(Station s) throws IOException
s - StationIOException - I/O errorpublic DataIterator getDataIterator(Station s, Date start, Date end) throws IOException
s - Stationstart - starting Dateend - ending DateIOException - I/O errorpublic static void main(String[] args) throws IOException, ParseException
IOExceptionParseExceptionCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.