Package ucar.unidata.data.radar
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 Summary
FieldsModifier and TypeFieldDescriptionprotected HashMap
protected HashMap
protected HashMap
protected ucar.nc2.units.DateUnit
Fields inherited from class ucar.nc2.dt.TypedDatasetImpl
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkStationProduct
(String stationName, Product product) check if the product available for one stationucar.unidata.geoloc.LatLonRect
thredds.catalog.query.Station
getStation
(String name) Get all the Stations in the collection.getStations
(ucar.nc2.util.CancelTask cancel) Get all the Stations in the collection, allow user to cancel.getStations
(ucar.unidata.geoloc.LatLonRect boundingBox) Get all the Stations within a bounding box.getStations
(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) Get all the Stations within a bounding box, allow user to cancel.Methods inherited from class ucar.nc2.dt.TypedDatasetImpl
close, findGlobalAttributeIgnoreCase, getDataVariable, getDataVariables, getDescription, getDetailInfo, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setBoundingBox, setDescription, setEndDate, setLocationURI, setStartDate, setTitle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ucar.unidata.data.radar.StationRadarCollection
checkStationProduct, getStationProductCount
-
Field Details
-
stations
-
relTimesList
-
absTimesList
-
timeUnit
protected ucar.nc2.units.DateUnit timeUnit
-
-
Constructor Details
-
StationRadarCollectionImpl
public StationRadarCollectionImpl() -
StationRadarCollectionImpl
-
-
Method Details
-
getBoundingBox
public ucar.unidata.geoloc.LatLonRect getBoundingBox()- Specified by:
getBoundingBox
in interfaceucar.nc2.dt.TypedDataset
- Overrides:
getBoundingBox
in classucar.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 interfaceStationRadarCollection
- Parameters:
boundingBox
- restrict data to this bounding noxcancel
- allow user to cancel. Implementors should return ASAP.- Returns:
- List of Station
- Throws:
IOException
- on io error
-
checkStationProduct
Description copied from interface:StationRadarCollection
check if the product available for one station- Specified by:
checkStationProduct
in interfaceStationRadarCollection
- Parameters:
stationName
- which stationproduct
- the given Product and Station- Returns:
- true if data avaible for the given Product
-
getStation
- Throws:
IOException
-
getStations
Description copied from interface:StationRadarCollection
Get all the Stations in the collection.- Specified by:
getStations
in interfaceStationRadarCollection
- Returns:
- List of Station
- Throws:
IOException
- on io error
-
getStations
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
Get all the Stations within a bounding box.- Returns:
- List of Station
- Throws:
IOException
-