ucar.nc2.dt
Interface StationRadarCollection


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
 boolean checkStationProduct(Product product)
          check if the product available for all stations.
 boolean checkStationProduct(java.lang.String stationName, Product product)
          check if the product available for one station
 int getStationProductCount(java.lang.String sName)
          How many Data Products are available for this Station?
 java.util.List<Station> getStations()
          Get all the Stations in the collection.
 java.util.List<Station> getStations(LatLonRect boundingBox, CancelTask cancel)
          Get all the Stations within a bounding box, allow user to cancel.
 

Method Detail

getStations

java.util.List<Station> getStations()
                                    throws java.io.IOException
Get all the Stations in the collection.

Returns:
List of Station
Throws:
java.io.IOException - on io error

getStations

java.util.List<Station> getStations(LatLonRect boundingBox,
                                    CancelTask cancel)
                                    throws java.io.IOException
Get all the Stations within a bounding box, allow user to cancel.

Parameters:
boundingBox - restrict data to this bounding nox
cancel - allow user to cancel. Implementors should return ASAP.
Returns:
List of Station
Throws:
java.io.IOException - on io error

checkStationProduct

boolean checkStationProduct(Product product)
check if the product available for all stations.

Parameters:
product - the given Product
Returns:
true if data avaible for the given Product

checkStationProduct

boolean checkStationProduct(java.lang.String stationName,
                            Product product)
check if the product available for one station

Parameters:
stationName - which station
product - the given Product and Station
Returns:
true if data avaible for the given Product

getStationProductCount

int getStationProductCount(java.lang.String sName)
How many Data Products are available for this Station?

Parameters:
sName - station name
Returns:
count or -1 if unknown.