ucar.nc2.dt.radial
Class RadialDatasetSweepAdapter
java.lang.Object
ucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.radial.RadialDatasetSweepAdapter
- All Implemented Interfaces:
- RadialDatasetSweep, TypedDataset
- Direct Known Subclasses:
- Dorade2Dataset, LevelII2Dataset, Netcdf2Dataset, Nids2Dataset, UF2Dataset
public abstract class RadialDatasetSweepAdapter
- extends TypedDatasetImpl
- implements RadialDatasetSweep
Make a NetcdfDataset into a RadialDatasetSweep.
- Version:
- $Revision:51 $ $Date:2006-07-12 17:13:13Z $
- Author:
- yuan
| Methods inherited from class ucar.nc2.dt.TypedDatasetImpl |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, 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.TypedDataset |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle |
origin
protected EarthLocation origin
csHash
protected java.util.HashMap csHash
dateUnits
protected DateUnit dateUnits
RadialDatasetSweepAdapter
public RadialDatasetSweepAdapter()
RadialDatasetSweepAdapter
public RadialDatasetSweepAdapter(NetcdfDataset ds)
addRadialVariable
protected abstract void addRadialVariable(NetcdfDataset ds,
Variable var)
makeRadialVariable
protected abstract RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
Variable v0)
setTimeUnits
protected abstract void setTimeUnits()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDetailInfo
public java.lang.String getDetailInfo()
- Specified by:
getDetailInfo in interface TypedDataset- Overrides:
getDetailInfo in class TypedDatasetImpl
- Returns:
- debug / underlying implementation details
setEarthLocation
protected abstract void setEarthLocation()
getCommonType
public RadialDatasetSweep.Type getCommonType()
- Description copied from interface:
RadialDatasetSweep
- If all the sweeps are the same type, return it here, else NONE
- Specified by:
getCommonType in interface RadialDatasetSweep
- Returns:
- type of sweep, or NONE
getTimeUnits
public DateUnit getTimeUnits()
- Description copied from interface:
RadialDatasetSweep
- Get the units of Calendar time.
To get a Date, from a time value, call DateUnit.getStandardDate(double value).
To get units as a String, call DateUnit.getUnitsString().
- Specified by:
getTimeUnits in interface RadialDatasetSweep
- Returns:
- units of Calendar time
getEarthLocation
public EarthLocation getEarthLocation()
setBoundingBox
protected void setBoundingBox()
- Specified by:
setBoundingBox in class TypedDatasetImpl