ucar.nc2.dt.point
Class StationDatasetHelper
java.lang.Object
ucar.nc2.dt.point.StationDatasetHelper
public class StationDatasetHelper
- extends Object
Helper class for StationObsDataset.
StationObsDataset must implement:
getStations()
getData( Station s)
This assumes that calling getData( Station s) is reletively cheap, ie that theres no cheaper filtering to do.
- Author:
- caron
Method Summary |
LatLonRect |
getBoundingBox()
|
Station |
getStation(String name)
|
List |
getStationObs(LatLonRect boundingBox,
CancelTask cancel)
|
List |
getStationObs(LatLonRect boundingBox,
double startTime,
double endTime,
CancelTask cancel)
|
List |
getStationObs(List<Station> stations,
CancelTask cancel)
|
List |
getStationObs(List<Station> stations,
double startTime,
double endTime,
CancelTask cancel)
|
List |
getStationObs(Station s,
double startTime,
double endTime,
CancelTask cancel)
|
List<Station> |
getStations(LatLonRect boundingBox,
CancelTask cancel)
|
void |
sortByTime(List<StationObsDatatype> stationObs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StationDatasetHelper
public StationDatasetHelper(StationObsDataset obsDataset)
getBoundingBox
public LatLonRect getBoundingBox()
getStations
public List<Station> getStations(LatLonRect boundingBox,
CancelTask cancel)
throws IOException
- Throws:
IOException
getStation
public Station getStation(String name)
getStationObs
public List getStationObs(Station s,
double startTime,
double endTime,
CancelTask cancel)
throws IOException
- Throws:
IOException
getStationObs
public List getStationObs(List<Station> stations,
CancelTask cancel)
throws IOException
- Throws:
IOException
getStationObs
public List getStationObs(List<Station> stations,
double startTime,
double endTime,
CancelTask cancel)
throws IOException
- Throws:
IOException
getStationObs
public List getStationObs(LatLonRect boundingBox,
CancelTask cancel)
throws IOException
- Throws:
IOException
getStationObs
public List getStationObs(LatLonRect boundingBox,
double startTime,
double endTime,
CancelTask cancel)
throws IOException
- Throws:
IOException
sortByTime
public void sortByTime(List<StationObsDatatype> stationObs)
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.