ucar.nc2.dt.radial
Class StationRadarCollectionImpl

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

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.


Field Summary
protected  java.util.HashMap absTimesList
           
protected  java.util.HashMap relTimesList
           
protected  java.util.HashMap stations
           
protected  DateUnit timeUnit
           
 
Fields inherited from class ucar.nc2.dt.TypedDatasetImpl
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title
 
Constructor Summary
StationRadarCollectionImpl()
           
StationRadarCollectionImpl(StationRadarCollection radarDataset)
           
 
Method Summary
 LatLonRect getBoundingBox()
          The boundingBox for the entire dataset.
 Station getStation(java.lang.String name)
           
 java.util.List getStations()
          Get all the Stations in the collection.
 java.util.List getStations(CancelTask cancel)
          Get all the Stations in the collection, allow user to cancel.
 java.util.List getStations(LatLonRect boundingBox)
          Get all the Stations within a bounding box.
 java.util.List getStations(LatLonRect boundingBox, 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, 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.nc2.dt.StationRadarCollection
checkStationProduct, checkStationProduct, getStationProductCount
 

Field Detail

stations

protected java.util.HashMap stations

relTimesList

protected java.util.HashMap relTimesList

absTimesList

protected java.util.HashMap absTimesList

timeUnit

protected DateUnit timeUnit
Constructor Detail

StationRadarCollectionImpl

public StationRadarCollectionImpl()

StationRadarCollectionImpl

public StationRadarCollectionImpl(StationRadarCollection radarDataset)
Method Detail

getBoundingBox

public LatLonRect getBoundingBox()
Description copied from interface: TypedDataset
The boundingBox for the entire dataset.

Specified by:
getBoundingBox in interface TypedDataset
Overrides:
getBoundingBox in class TypedDatasetImpl

getStations

public java.util.List getStations(LatLonRect boundingBox,
                                  CancelTask cancel)
                           throws java.io.IOException
Description copied from interface: StationRadarCollection
Get all the Stations within a bounding box, allow user to cancel.

Specified by:
getStations in interface StationRadarCollection
cancel - allow user to cancel. Implementors should return ASAP.
Returns:
List of Station
Throws:
java.io.IOException

getStation

public Station getStation(java.lang.String name)
                   throws java.io.IOException
Throws:
java.io.IOException

getStations

public java.util.List getStations()
                           throws java.io.IOException
Description copied from interface: StationRadarCollection
Get all the Stations in the collection.

Specified by:
getStations in interface StationRadarCollection
Returns:
List of Station
Throws:
java.io.IOException

getStations

public java.util.List getStations(CancelTask cancel)
                           throws java.io.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:
java.io.IOException

getStations

public java.util.List getStations(LatLonRect boundingBox)
                           throws java.io.IOException
Get all the Stations within a bounding box.

Returns:
List of Station
Throws:
java.io.IOException