public class StationDatasetCollection
extends java.lang.Object
Constructor and Description |
---|
StationDatasetCollection()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String location)
Deprecated.
|
DataIterator |
getDataIterator(Station s)
Deprecated.
Get all data for this Station.
|
DataIterator |
getDataIterator(Station s,
java.util.Date start,
java.util.Date end)
Deprecated.
Get data for this Station within the specified date range.
|
Station |
getStation(java.lang.String name)
Deprecated.
Find a Station by name
|
java.util.List |
getStations()
Deprecated.
Get all the Stations in the collection.
|
java.util.List |
getStations(LatLonRect boundingBox)
Deprecated.
Get all the Stations within a bounding box.
|
static void |
main(java.lang.String[] args)
Deprecated.
|
public void add(java.lang.String location) throws java.io.IOException
java.io.IOException
public java.util.List getStations() throws java.io.IOException
java.io.IOException
- I/O errorpublic java.util.List getStations(LatLonRect boundingBox) throws java.io.IOException
boundingBox
- within this bounding boxjava.io.IOException
- I/O errorpublic Station getStation(java.lang.String name)
name
- name of the Stationpublic DataIterator getDataIterator(Station s) throws java.io.IOException
s
- Stationjava.io.IOException
- I/O errorpublic DataIterator getDataIterator(Station s, java.util.Date start, java.util.Date end) throws java.io.IOException
s
- Stationstart
- starting Dateend
- ending Datejava.io.IOException
- I/O errorpublic static void main(java.lang.String[] args) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException