Class DqcRadarDatasetCollection

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

public class DqcRadarDatasetCollection extends StationRadarCollectionImpl
Obsolete.
  • Method Details

    • factory

      public static DqcRadarDatasetCollection factory(thredds.catalog.InvDataset ds, String dqc_location, StringBuffer errlog) throws IOException
      _more_
      Parameters:
      ds - _more_
      dqc_location - _more_
      errlog - _more_
      Returns:
      _more_
      Throws:
      IOException - _more_
    • factory

      public static DqcRadarDatasetCollection factory(String desc, String dqc_location, StringBuffer errlog) throws IOException
      _more_
      Parameters:
      desc - _more_
      dqc_location - _more_
      errlog - _more_
      Returns:
      _more_
      Throws:
      IOException - _more_
    • setTimeUnits

      protected void setTimeUnits()
      _more_
    • setStartDate

      protected void setStartDate()
      _more_
      Specified by:
      setStartDate in class ucar.nc2.dt.TypedDatasetImpl
    • setEndDate

      protected void setEndDate()
      _more_
      Specified by:
      setEndDate in class ucar.nc2.dt.TypedDatasetImpl
    • setBoundingBox

      protected void setBoundingBox()
      _more_
      Specified by:
      setBoundingBox in class ucar.nc2.dt.TypedDatasetImpl
    • getTitle

      public String getTitle()
      _more_
      Specified by:
      getTitle in interface ucar.nc2.dt.TypedDataset
      Overrides:
      getTitle in class ucar.nc2.dt.TypedDatasetImpl
      Returns:
      _more_
    • getLocation

      public String getLocation()
      _more_
      Overrides:
      getLocation in class ucar.nc2.dt.TypedDatasetImpl
      Returns:
      _more_
    • getDescription

      public String getDescription()
      _more_
      Specified by:
      getDescription in interface ucar.nc2.dt.TypedDataset
      Overrides:
      getDescription in class ucar.nc2.dt.TypedDatasetImpl
      Returns:
      _more_
    • checkStationProduct

      public boolean checkStationProduct(String sName, Product product)
      _more_
      Specified by:
      checkStationProduct in interface StationRadarCollection
      Overrides:
      checkStationProduct in class StationRadarCollectionImpl
      Parameters:
      sName - _more_
      product - _more_
      Returns:
      _more_
    • checkStationProduct

      public boolean checkStationProduct(Product product)
      _more_
      Parameters:
      product - _more_
      Returns:
      _more_
    • getStationProductCount

      public int getStationProductCount(String sName)
      _more_
      Parameters:
      sName - _more_
      Returns:
      _more_
    • getStations

      public List getStations() throws IOException
      get all radar station.
      Specified by:
      getStations in interface StationRadarCollection
      Overrides:
      getStations in class StationRadarCollectionImpl
      Returns:
      List of type DqcRadarStation objects
      Throws:
      IOException - java io exception
    • getRadarStations

      public List getRadarStations()
      get all radar station.
      Returns:
      List of type DqcRadarStation objects
      Throws:
      IOException - java io exception
    • getStations

      public List getStations(ucar.nc2.util.CancelTask cancel) throws IOException
      get all radar station within box.
      Overrides:
      getStations in class StationRadarCollectionImpl
      Parameters:
      cancel - _more_
      Returns:
      List of type DqcRadarStation objects
      Throws:
      IOException - java io exception
    • getStations

      public List getStations(ucar.unidata.geoloc.LatLonRect boundingBox) throws IOException
      get all radar station within box.
      Overrides:
      getStations in class StationRadarCollectionImpl
      Parameters:
      boundingBox - _more_
      Returns:
      List of type DqcRadarStation objects
      Throws:
      IOException - java io exception
    • getStations

      public List getStations(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) throws IOException
      get all radar station within box.
      Specified by:
      getStations in interface StationRadarCollection
      Overrides:
      getStations in class StationRadarCollectionImpl
      Parameters:
      boundingBox - _more_
      cancel - _more_
      Returns:
      List of type DqcRadarStation objects
      Throws:
      IOException - java io exception
    • getRadarDataset

      public ucar.nc2.dt.RadialDatasetSweep getRadarDataset(String stnName, Date absTime) throws IOException
      Getting dataset for a single radar station.
      Parameters:
      stnName - radar station name
      absTime - is absolute time
      Returns:
      RadialDatasetSweep object
      Throws:
      IOException - java io exception
    • getRadarDatasetURI

      public URI getRadarDatasetURI(String stnName, Date absTime) throws IOException
      Getting URI for a single radar station.
      Parameters:
      stnName - radar station name
      absTime - is absolute time
      Returns:
      URI
      Throws:
      IOException - java io exception
    • getRadarStationURIs

      public ArrayList getRadarStationURIs(String stnName, Date start, Date end) throws IOException
      Getting data for a single radar station.
      Parameters:
      stnName - radar station name
      start - of the time
      end - of the time
      Returns:
      data URI list
      Throws:
      IOException - java io exception
    • getRadarStationDatasets

      public ArrayList getRadarStationDatasets(String stnName, Date start, Date end) throws IOException
      Getting data Iterator for a single radar station.
      Parameters:
      stnName - radar station name
      start - of the time
      end - of the time
      Returns:
      dataset list
      Throws:
      IOException - java io exception
    • getRadarStationTimes

      public ArrayList getRadarStationTimes(String stnName, Date start, Date end) throws IOException
      Getting data URI list for a single radar station.
      Parameters:
      stnName - radar station name
      start - of the time
      end - of the time
      Returns:
      list of URIs
      Throws:
      IOException - java io exception
    • getDataIterator

      public ucar.nc2.dt.DataIterator getDataIterator(int bufferSize) throws IOException
      Getting data Iterator for a single radar station.
      Parameters:
      bufferSize -
      Returns:
      data iterator
      Throws:
      IOException - java io exception
    • getDataURIs

      public ArrayList getDataURIs(String sName, DateSelection dateInfo) throws IOException
      Getting data URIs for a single radar station, with time range.
      Parameters:
      sName - radar station name
      dateInfo - the date selection information
      Returns:
      list of URIs
      Throws:
      IOException - _more_
    • getData

      public ArrayList getData(String sName, DateSelection dateInfo) throws IOException
      Getting data for a single radar station, with time range.
      Parameters:
      sName - radar station name
      dateInfo - the date time selection information
      Returns:
      list of radialDatasetSweep
      Throws:
      IOException - _more_
    • getData

      public ArrayList getData(String sName, DateSelection dateSelect, ucar.nc2.util.CancelTask cancel) throws IOException
      Getting data for a single radar station, with time range.
      Parameters:
      sName - radar station name
      dateSelect - the date time selection information
      cancel - _more_
      Returns:
      list of radialDatasetSweep
      Throws:
      IOException - _more_
    • getDataURIs

      public ArrayList getDataURIs(String sName, DateSelection dateSelect, ucar.nc2.util.CancelTask cancel) throws IOException
      _more_
      Parameters:
      sName - _more_
      dateSelect - _more_
      cancel - _more_
      Returns:
      _more_
      Throws:
      IOException - _more_
    • roundTo

      public static long roundTo(long roundTo, long seconds)
      Getting data for a single radar station, with time range and interval.
      Parameters:
      roundTo -
      seconds - to be round to
      Returns:
      round to second
    • main

      public static void main(String[] args) throws IOException
      _more_
      Parameters:
      args - _more_
      Throws:
      IOException - _more_