public abstract class StationRadarCollectionImpl extends ucar.nc2.dt.TypedDatasetImpl implements StationRadarCollection
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap |
absTimesList |
protected java.util.HashMap |
relTimesList |
protected java.util.HashMap |
stations |
protected ucar.nc2.units.DateUnit |
timeUnit |
Constructor and Description |
---|
StationRadarCollectionImpl() |
StationRadarCollectionImpl(StationRadarCollection radarDataset) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkStationProduct(java.lang.String stationName,
Product product)
check if the product available for one station
|
ucar.unidata.geoloc.LatLonRect |
getBoundingBox() |
thredds.catalog.query.Station |
getStation(java.lang.String name) |
java.util.List |
getStations()
Get all the Stations in the collection.
|
java.util.List |
getStations(ucar.nc2.util.CancelTask cancel)
Get all the Stations in the collection, allow user to cancel.
|
java.util.List |
getStations(ucar.unidata.geoloc.LatLonRect boundingBox)
Get all the Stations within a bounding box.
|
java.util.List |
getStations(ucar.unidata.geoloc.LatLonRect boundingBox,
ucar.nc2.util.CancelTask cancel)
Get all the Stations within a bounding box, allow user to cancel.
|
close, findGlobalAttributeIgnoreCase, getDataVariable, getDataVariables, getDescription, getDetailInfo, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setBoundingBox, setDescription, setEndDate, setLocationURI, setStartDate, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkStationProduct, getStationProductCount
protected java.util.HashMap stations
protected java.util.HashMap relTimesList
protected java.util.HashMap absTimesList
protected ucar.nc2.units.DateUnit timeUnit
public StationRadarCollectionImpl()
public StationRadarCollectionImpl(StationRadarCollection radarDataset)
public ucar.unidata.geoloc.LatLonRect getBoundingBox()
getBoundingBox
in interface ucar.nc2.dt.TypedDataset
getBoundingBox
in class ucar.nc2.dt.TypedDatasetImpl
public java.util.List getStations(ucar.unidata.geoloc.LatLonRect boundingBox, ucar.nc2.util.CancelTask cancel) throws java.io.IOException
StationRadarCollection
getStations
in interface StationRadarCollection
boundingBox
- restrict data to this bounding noxcancel
- allow user to cancel. Implementors should return ASAP.java.io.IOException
- on io errorpublic boolean checkStationProduct(java.lang.String stationName, Product product)
StationRadarCollection
checkStationProduct
in interface StationRadarCollection
stationName
- which stationproduct
- the given Product and Stationpublic thredds.catalog.query.Station getStation(java.lang.String name) throws java.io.IOException
java.io.IOException
public java.util.List getStations() throws java.io.IOException
StationRadarCollection
getStations
in interface StationRadarCollection
java.io.IOException
- on io errorpublic java.util.List getStations(ucar.nc2.util.CancelTask cancel) throws java.io.IOException
cancel
- allow user to cancel. Implementors should return ASAP.java.io.IOException
public java.util.List getStations(ucar.unidata.geoloc.LatLonRect boundingBox) throws java.io.IOException
java.io.IOException