Package ucar.unidata.data.radar
Interface StationRadarCollection
- All Known Implementing Classes:
DqcRadarDatasetCollection
,IdvRadarDatasetCollection
,StationRadarCollectionImpl
,TDSRadarDatasetCollection
public interface StationRadarCollection
A collection of data at unconnected radar station.
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.
- Author:
- yuan
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkStationProduct
(String stationName, Product product) check if the product available for one stationboolean
checkStationProduct
(Product product) check if the product available for all stations.int
getStationProductCount
(String sName) How many Data Products are available for this Station?List
<ucar.unidata.geoloc.Station> Get all the Stations in the collection.List
<ucar.unidata.geoloc.Station> getStations
(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) Get all the Stations within a bounding box, allow user to cancel.
-
Method Details
-
getStations
Get all the Stations in the collection.- Returns:
- List of Station
- Throws:
IOException
- on io error
-
getStations
List<ucar.unidata.geoloc.Station> getStations(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) throws IOException Get all the Stations within a bounding box, allow user to cancel.- Parameters:
boundingBox
- restrict data to this bounding noxcancel
- allow user to cancel. Implementors should return ASAP.- Returns:
- List of Station
- Throws:
IOException
- on io error
-
checkStationProduct
check if the product available for all stations.- Parameters:
product
- the given Product- Returns:
- true if data avaible for the given Product
-
checkStationProduct
check if the product available for one station- Parameters:
stationName
- which stationproduct
- the given Product and Station- Returns:
- true if data avaible for the given Product
-
getStationProductCount
How many Data Products are available for this Station?- Parameters:
sName
- station name- Returns:
- count or -1 if unknown.
-