ucar.nc2.thredds
Class DqcRadarDatasetCollection

java.lang.Object
  extended by ucar.nc2.dt.TypedDatasetImpl
      extended by ucar.nc2.dt.radial.StationRadarCollectionImpl
          extended by ucar.nc2.thredds.DqcRadarDatasetCollection
All Implemented Interfaces:
StationRadarCollection, TypedDataset

public class DqcRadarDatasetCollection
extends StationRadarCollectionImpl

Obsolete.


Nested Class Summary
 class DqcRadarDatasetCollection.DatasetURIInfo
          Class DatasetURIInfo _more_
 class DqcRadarDatasetCollection.DqcRadarDatasetInfo
          Class DqcRadarDatasetInfo _more_
 class DqcRadarDatasetCollection.InvDatasetInfo
          Class InvDatasetInfo _more_
 
Field Summary
 
Fields inherited from class ucar.nc2.dt.radial.StationRadarCollectionImpl
absTimesList, relTimesList, stations, timeUnit
 
Fields inherited from class ucar.nc2.dt.TypedDatasetImpl
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title
 
Method Summary
 boolean checkStationProduct(Product product)
          _more_
 boolean checkStationProduct(String sName, Product product)
          _more_
static DqcRadarDatasetCollection factory(InvDataset ds, String dqc_location, StringBuffer errlog)
          _more_
static DqcRadarDatasetCollection factory(String desc, String dqc_location, StringBuffer errlog)
          _more_
 ArrayList getData(String sName, DateSelection dateInfo)
          Getting data for a single radar station, with time range.
 ArrayList getData(String sName, DateSelection dateSelect, CancelTask cancel)
          Getting data for a single radar station, with time range.
 DataIterator getDataIterator(int bufferSize)
          Getting data Iterator for a single radar station.
 ArrayList getDataURIs(String sName, DateSelection dateInfo)
          Getting data URIs for a single radar station, with time range.
 ArrayList getDataURIs(String sName, DateSelection dateSelect, CancelTask cancel)
          _more_
 String getDescription()
          _more_
 String getLocation()
          _more_
 RadialDatasetSweep getRadarDataset(String stnName, Date absTime)
          Getting dataset for a single radar station.
 URI getRadarDatasetURI(String stnName, Date absTime)
          Getting URI for a single radar station.
 ArrayList getRadarStationDatasets(String stnName, Date start, Date end)
          Getting data Iterator for a single radar station.
 List getRadarStations()
          get all radar station.
 ArrayList getRadarStationTimes(String stnName, Date start, Date end)
          Getting data URI list for a single radar station.
 ArrayList getRadarStationURIs(String stnName, Date start, Date end)
          Getting data for a single radar station.
 int getStationProductCount(String sName)
          _more_
 List getStations()
          get all radar station.
 List getStations(CancelTask cancel)
          get all radar station within box.
 List getStations(LatLonRect boundingBox)
          get all radar station within box.
 List getStations(LatLonRect boundingBox, CancelTask cancel)
          get all radar station within box.
 String getTitle()
          _more_
static void main(String[] args)
          _more_
static long roundTo(long roundTo, long seconds)
          Getting data for a single radar station, with time range and interval.
protected  void setBoundingBox()
          _more_
protected  void setEndDate()
          _more_
protected  void setStartDate()
          _more_
protected  void setTimeUnits()
          _more_
 
Methods inherited from class ucar.nc2.dt.radial.StationRadarCollectionImpl
getBoundingBox, getStation
 
Methods inherited from class ucar.nc2.dt.TypedDatasetImpl
close, findGlobalAttributeIgnoreCase, getDataVariable, getDataVariables, getDetailInfo, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, removeDataVariable, setDescription, setLocationURI, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

factory

public static DqcRadarDatasetCollection factory(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 TypedDatasetImpl

setEndDate

protected void setEndDate()
_more_

Specified by:
setEndDate in class TypedDatasetImpl

setBoundingBox

protected void setBoundingBox()
_more_

Specified by:
setBoundingBox in class TypedDatasetImpl

getTitle

public String getTitle()
_more_

Specified by:
getTitle in interface TypedDataset
Overrides:
getTitle in class TypedDatasetImpl
Returns:
_more_

getLocation

public String getLocation()
_more_

Overrides:
getLocation in class TypedDatasetImpl
Returns:
_more_

getDescription

public String getDescription()
_more_

Specified by:
getDescription in interface TypedDataset
Overrides:
getDescription in class 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(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(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(LatLonRect boundingBox,
                        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 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 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,
                         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,
                             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_


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.