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 HashMapprotected HashMapprotected HashMapprotected ucar.nc2.units.DateUnitFields inherited from class ucar.nc2.dt.TypedDatasetImpl
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckStationProduct(String stationName, Product product) check if the product available for one stationucar.unidata.geoloc.LatLonRectthredds.catalog.query.StationgetStation(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, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getBoundingBoxin interfaceucar.nc2.dt.TypedDataset- Overrides:
getBoundingBoxin classucar.nc2.dt.TypedDatasetImpl
-
getStations
public List getStations(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) throws IOException Description copied from interface:StationRadarCollectionGet all the Stations within a bounding box, allow user to cancel.- Specified by:
getStationsin 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:StationRadarCollectioncheck if the product available for one station- Specified by:
checkStationProductin 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:StationRadarCollectionGet all the Stations in the collection.- Specified by:
getStationsin 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
-