ucar.nc2.dt
Interface StationRadarCollection

All Known Implementing Classes:
DqcRadarDatasetCollection, 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
 boolean checkStationProduct(Product product)
          check if the product available for all stations.
 boolean checkStationProduct(java.lang.String sName, 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 getStations()
          Get all the Stations in the collection.
 java.util.List getStations(LatLonRect boundingBox, CancelTask cancel)
          Get all the Stations within a bounding box, allow user to cancel.
 

Method Detail

getStations

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

Returns:
List of Station
Throws:
java.io.IOException

getStations

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

Parameters:
cancel - allow user to cancel. Implementors should return ASAP.
Returns:
List of Station
Throws:
java.io.IOException

checkStationProduct

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

Returns:
true of false

checkStationProduct

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

Returns:
true of false

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.