ucar.nc2.dt.radial
Class StationRadarCollectionImpl
java.lang.Object
ucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.radial.StationRadarCollectionImpl
- All Implemented Interfaces:
- StationRadarCollection, TypedDataset
- Direct Known Subclasses:
- DqcRadarDatasetCollection, TDSRadarDatasetCollection
public abstract class StationRadarCollectionImpl
- extends 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.
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 |
stations
protected HashMap stations
relTimesList
protected HashMap relTimesList
absTimesList
protected HashMap absTimesList
timeUnit
protected DateUnit timeUnit
StationRadarCollectionImpl
public StationRadarCollectionImpl()
StationRadarCollectionImpl
public StationRadarCollectionImpl(StationRadarCollection radarDataset)
getBoundingBox
public LatLonRect getBoundingBox()
- Specified by:
getBoundingBox
in interface TypedDataset
- Overrides:
getBoundingBox
in class TypedDatasetImpl
- Returns:
- the boundingBox for the entire dataset.
getStations
public List getStations(LatLonRect boundingBox,
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 interface StationRadarCollection
- 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
public boolean checkStationProduct(String stationName,
Product product)
- Description copied from interface:
StationRadarCollection
- check if the product available for one station
- Specified by:
checkStationProduct
in interface StationRadarCollection
- Parameters:
stationName
- which stationproduct
- the given Product and Station
- Returns:
- true if data avaible for the given Product
getStation
public Station getStation(String name)
throws IOException
- Throws:
IOException
getStations
public List getStations()
throws IOException
- Description copied from interface:
StationRadarCollection
- Get all the Stations in the collection.
- Specified by:
getStations
in interface StationRadarCollection
- Returns:
- List of Station
- Throws:
IOException
- on io error
getStations
public List getStations(CancelTask cancel)
throws IOException
- 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
public List getStations(LatLonRect boundingBox)
throws IOException
- Get all the Stations within a bounding box.
- Returns:
- List of Station
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.