Package ucar.unidata.data.radar
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
Obsolete.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Class DatasetURIInfo _more_class
Class DqcRadarDatasetInfo _more_class
Class InvDatasetInfo _more_ -
Field Summary
Fields inherited from class ucar.unidata.data.radar.StationRadarCollectionImpl
absTimesList, relTimesList, stations, timeUnit
Fields inherited from class ucar.nc2.dt.TypedDatasetImpl
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkStationProduct
(String sName, Product product) _more_boolean
checkStationProduct
(Product product) _more_static DqcRadarDatasetCollection
factory
(String desc, String dqc_location, StringBuffer errlog) _more_static DqcRadarDatasetCollection
factory
(thredds.catalog.InvDataset ds, String dqc_location, StringBuffer errlog) _more_getData
(String sName, DateSelection dateInfo) Getting data for a single radar station, with time range.getData
(String sName, DateSelection dateSelect, ucar.nc2.util.CancelTask cancel) Getting data for a single radar station, with time range.ucar.nc2.dt.DataIterator
getDataIterator
(int bufferSize) Getting data Iterator for a single radar station.getDataURIs
(String sName, DateSelection dateInfo) Getting data URIs for a single radar station, with time range.getDataURIs
(String sName, DateSelection dateSelect, ucar.nc2.util.CancelTask cancel) _more__more__more_ucar.nc2.dt.RadialDatasetSweep
getRadarDataset
(String stnName, Date absTime) Getting dataset for a single radar station.getRadarDatasetURI
(String stnName, Date absTime) Getting URI for a single radar station.getRadarStationDatasets
(String stnName, Date start, Date end) Getting data Iterator for a single radar station.get all radar station.getRadarStationTimes
(String stnName, Date start, Date end) Getting data URI list for a single radar station.getRadarStationURIs
(String stnName, Date start, Date end) Getting data for a single radar station.int
getStationProductCount
(String sName) _more_get all radar station.getStations
(ucar.nc2.util.CancelTask cancel) get all radar station within box.getStations
(ucar.unidata.geoloc.LatLonRect boundingBox) get all radar station within box.getStations
(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) get all radar station within box.getTitle()
_more_static void
_more_static long
roundTo
(long roundTo, long seconds) Getting data for a single radar station, with time range and interval.protected void
_more_protected void
_more_protected void
_more_protected void
_more_Methods inherited from class ucar.unidata.data.radar.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
-
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 classucar.nc2.dt.TypedDatasetImpl
-
setEndDate
protected void setEndDate()_more_- Specified by:
setEndDate
in classucar.nc2.dt.TypedDatasetImpl
-
setBoundingBox
protected void setBoundingBox()_more_- Specified by:
setBoundingBox
in classucar.nc2.dt.TypedDatasetImpl
-
getTitle
_more_- Specified by:
getTitle
in interfaceucar.nc2.dt.TypedDataset
- Overrides:
getTitle
in classucar.nc2.dt.TypedDatasetImpl
- Returns:
- _more_
-
getLocation
_more_- Overrides:
getLocation
in classucar.nc2.dt.TypedDatasetImpl
- Returns:
- _more_
-
getDescription
_more_- Specified by:
getDescription
in interfaceucar.nc2.dt.TypedDataset
- Overrides:
getDescription
in classucar.nc2.dt.TypedDatasetImpl
- Returns:
- _more_
-
checkStationProduct
_more_- Specified by:
checkStationProduct
in interfaceStationRadarCollection
- Overrides:
checkStationProduct
in classStationRadarCollectionImpl
- Parameters:
sName
- _more_product
- _more_- Returns:
- _more_
-
checkStationProduct
_more_- Parameters:
product
- _more_- Returns:
- _more_
-
getStationProductCount
_more_- Parameters:
sName
- _more_- Returns:
- _more_
-
getStations
get all radar station.- Specified by:
getStations
in interfaceStationRadarCollection
- Overrides:
getStations
in classStationRadarCollectionImpl
- Returns:
- List of type DqcRadarStation objects
- Throws:
IOException
- java io exception
-
getRadarStations
get all radar station.- Returns:
- List of type DqcRadarStation objects
- Throws:
IOException
- java io exception
-
getStations
get all radar station within box.- Overrides:
getStations
in classStationRadarCollectionImpl
- Parameters:
cancel
- _more_- Returns:
- List of type DqcRadarStation objects
- Throws:
IOException
- java io exception
-
getStations
get all radar station within box.- Overrides:
getStations
in classStationRadarCollectionImpl
- 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 interfaceStationRadarCollection
- Overrides:
getStations
in classStationRadarCollectionImpl
- 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 nameabsTime
- is absolute time- Returns:
- RadialDatasetSweep object
- Throws:
IOException
- java io exception
-
getRadarDatasetURI
Getting URI for a single radar station.- Parameters:
stnName
- radar station nameabsTime
- is absolute time- Returns:
- URI
- Throws:
IOException
- java io exception
-
getRadarStationURIs
Getting data for a single radar station.- Parameters:
stnName
- radar station namestart
- of the timeend
- of the time- Returns:
- data URI list
- Throws:
IOException
- java io exception
-
getRadarStationDatasets
Getting data Iterator for a single radar station.- Parameters:
stnName
- radar station namestart
- of the timeend
- of the time- Returns:
- dataset list
- Throws:
IOException
- java io exception
-
getRadarStationTimes
Getting data URI list for a single radar station.- Parameters:
stnName
- radar station namestart
- of the timeend
- of the time- Returns:
- list of URIs
- Throws:
IOException
- java io exception
-
getDataIterator
Getting data Iterator for a single radar station.- Parameters:
bufferSize
-- Returns:
- data iterator
- Throws:
IOException
- java io exception
-
getDataURIs
Getting data URIs for a single radar station, with time range.- Parameters:
sName
- radar station namedateInfo
- the date selection information- Returns:
- list of URIs
- Throws:
IOException
- _more_
-
getData
Getting data for a single radar station, with time range.- Parameters:
sName
- radar station namedateInfo
- 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 namedateSelect
- the date time selection informationcancel
- _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
_more_- Parameters:
args
- _more_- Throws:
IOException
- _more_
-