
package ucar.nc2.dt;

import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayList;

/** 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
 * @version $Revision:  $
 */
public interface StationRadarCollection {

    /** Get all the Stations in the collection.
     * @return List of Station */
    public List getStations() throws IOException;

    /** Get all the Stations within a bounding box, allow user to cancel.
     * @param cancel allow user to cancel. Implementors should return ASAP.
     * @return List of Station */
    public List getStations(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) throws IOException;

    /** Find a Station by name */
    //public Station getRadarStation( String name);



  /** check if the product available for all stations.
   * @return true of false */
    public boolean checkStationProduct(String product);


  /** check if the product available for one station
   * @return true of false */
    public boolean checkStationProduct(Station s, String product);

  /**
   * How many Data Products are available for this Station?
   * @param s station, and product requested
   * @return count or -1 if unknown.
   */
    public List getStationDataProducts( Station s);

}

@@ -27,100 +27,65 @@
 ort 
-java.io.IOException;%0Aimport java.util.Date;%0Aimport java.util.List;%0Aimport java.util.Iterator
+thredds.catalog.query.Station;%0Aimport java.io.IOException
 ;%0Aim
@@ -103,20 +103,16 @@
 til.
-Array
 List;%0A%0A
+%0A
 /** 

replace dt.Station with query.Station