Class StationRadarCollectionImpl

java.lang.Object
ucar.nc2.dt.TypedDatasetImpl
ucar.unidata.data.radar.StationRadarCollectionImpl
All Implemented Interfaces:
Closeable, AutoCloseable, ucar.nc2.dt.TypedDataset, StationRadarCollection
Direct Known Subclasses:
DqcRadarDatasetCollection, IdvRadarDatasetCollection, TDSRadarDatasetCollection

public abstract class StationRadarCollectionImpl extends ucar.nc2.dt.TypedDatasetImpl implements StationRadarCollection
Created by IntelliJ IDEA. User: yuanho Date: Feb 13, 2007 Time: 1:28:37 PM To change this template use File | Settings | File Templates.
  • Field Details

    • stations

      protected HashMap stations
    • relTimesList

      protected HashMap relTimesList
    • absTimesList

      protected HashMap absTimesList
    • timeUnit

      protected ucar.nc2.units.DateUnit timeUnit
  • Constructor Details

    • StationRadarCollectionImpl

      public StationRadarCollectionImpl()
    • StationRadarCollectionImpl

      public StationRadarCollectionImpl(StationRadarCollection radarDataset)
  • Method Details

    • getBoundingBox

      public ucar.unidata.geoloc.LatLonRect getBoundingBox()
      Specified by:
      getBoundingBox in interface ucar.nc2.dt.TypedDataset
      Overrides:
      getBoundingBox in class ucar.nc2.dt.TypedDatasetImpl
    • getStations

      public List getStations(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) throws IOException
      Description copied from interface: StationRadarCollection
      Get all the Stations within a bounding box, allow user to cancel.
      Specified by:
      getStations in interface StationRadarCollection
      Parameters:
      boundingBox - restrict data to this bounding nox
      cancel - allow user to cancel. Implementors should return ASAP.
      Returns:
      List of Station
      Throws:
      IOException - on io error
    • checkStationProduct

      public boolean checkStationProduct(String stationName, Product product)
      Description copied from interface: StationRadarCollection
      check if the product available for one station
      Specified by:
      checkStationProduct in interface StationRadarCollection
      Parameters:
      stationName - which station
      product - the given Product and Station
      Returns:
      true if data avaible for the given Product
    • getStation

      public thredds.catalog.query.Station getStation(String name) throws IOException
      Throws:
      IOException
    • getStations

      public List getStations() throws IOException
      Description copied from interface: StationRadarCollection
      Get all the Stations in the collection.
      Specified by:
      getStations in interface StationRadarCollection
      Returns:
      List of Station
      Throws:
      IOException - on io error
    • getStations

      public List getStations(ucar.nc2.util.CancelTask cancel) throws IOException
      Get all the Stations in the collection, allow user to cancel.
      Parameters:
      cancel - allow user to cancel. Implementors should return ASAP.
      Returns:
      List of Station
      Throws:
      IOException
    • getStations

      public List getStations(ucar.unidata.geoloc.LatLonRect boundingBox) throws IOException
      Get all the Stations within a bounding box.
      Returns:
      List of Station
      Throws:
      IOException