|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.radial.RadialDatasetSweepAdapter
ucar.nc2.dt.radial.Dorade2Dataset
public class Dorade2Dataset
Make a Dorade 2 NetcdfDataset into a RadialDataset.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.nc2.dt.radial.RadialDatasetSweepAdapter |
|---|
RadialDatasetSweepAdapter.MyRadialVariableAdapter |
| Nested classes/interfaces inherited from interface ucar.nc2.dt.RadialDatasetSweep |
|---|
RadialDatasetSweep.RadialVariable, RadialDatasetSweep.Sweep, RadialDatasetSweep.Type |
| Field Summary | |
|---|---|
protected DateUnit |
dateUnits
|
| Fields inherited from class ucar.nc2.dt.radial.RadialDatasetSweepAdapter |
|---|
csHash, fileCache, origin |
| Fields inherited from class ucar.nc2.dt.TypedDatasetImpl |
|---|
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title |
| Fields inherited from interface ucar.nc2.dt.RadialDatasetSweep |
|---|
LevelII, UF |
| Constructor Summary | |
|---|---|
Dorade2Dataset()
|
|
Dorade2Dataset(NetcdfDataset ds)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
addRadialVariable(NetcdfDataset nds,
Variable var)
|
void |
clearDatasetMemory()
Remove cached data, if any. |
List |
getAttributes()
|
EarthLocation |
getCommonOrigin()
If all sweeps have the same origin, return it here, else null |
String |
getDataFormat()
|
List |
getDataVariables()
The data Variables available in this dataset. |
String |
getRadarID()
|
String |
getRadarName()
|
FeatureType |
getScientificDataType()
What kind of cientific data type will this return? |
DateUnit |
getTimeUnits()
Get the units of Calendar time. |
void |
getTimeUnits(DateUnit dateUnits)
|
boolean |
isMine(NetcdfDataset ds)
Determine if this dataset belongs to you |
boolean |
isStationary()
Stationary versus moving radar. |
boolean |
isVolume()
Get the basic property of Radar, |
static void |
main(String[] args)
|
protected RadialDatasetSweep.RadialVariable |
makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
Variable v0)
|
TypedDataset |
open(NetcdfDataset ncd,
CancelTask task,
StringBuilder errlog)
Open a NetcdfDataset as a TypedDataset. |
protected void |
setEarthLocation()
|
protected void |
setEndDate()
|
protected void |
setStartDate()
|
protected void |
setTimeUnits()
|
| Methods inherited from class ucar.nc2.dt.radial.RadialDatasetSweepAdapter |
|---|
calcBounds, close, getCommonType, getDateRange, getDetailInfo, getDetailInfo, getEarthLocation, getFeatureType, getImplementationName, setBoundingBox, setFileCache, sync |
| Methods inherited from class ucar.nc2.dt.TypedDatasetImpl |
|---|
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setDescription, setLocationURI, 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 |
|---|
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle |
| Methods inherited from interface ucar.nc2.ft.FeatureDataset |
|---|
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocation, getNetcdfFile, getStartDate, getTitle |
| Field Detail |
|---|
protected DateUnit dateUnits
| Constructor Detail |
|---|
public Dorade2Dataset()
public Dorade2Dataset(NetcdfDataset ds)
ds - must be from dorade IOSP| Method Detail |
|---|
public boolean isMine(NetcdfDataset ds)
TypedDatasetFactoryIF
isMine in interface TypedDatasetFactoryIFds - examine this NetcdfDataset to see if it belongs to this class.
public TypedDataset open(NetcdfDataset ncd,
CancelTask task,
StringBuilder errlog)
throws IOException
TypedDatasetFactoryIF
open in interface TypedDatasetFactoryIFncd - already opened NetcdfDataset.task - use may cancelerrlog - place errors here
IOException - on errorpublic FeatureType getScientificDataType()
TypedDatasetFactoryIF
getScientificDataType in interface TypedDatasetFactoryIFpublic String getRadarID()
getRadarID in interface RadialDatasetSweeppublic String getRadarName()
getRadarName in interface RadialDatasetSweeppublic String getDataFormat()
getDataFormat in interface RadialDatasetSweeppublic EarthLocation getCommonOrigin()
RadialDatasetSweep
getCommonOrigin in interface RadialDatasetSweeppublic boolean isStationary()
RadialDatasetSweep
isStationary in interface RadialDatasetSweeppublic boolean isVolume()
RadialDatasetSweep
isVolume in interface RadialDatasetSweepprotected void setEarthLocation()
setEarthLocation in class RadialDatasetSweepAdapter
protected void addRadialVariable(NetcdfDataset nds,
Variable var)
addRadialVariable in class RadialDatasetSweepAdapter
protected RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
Variable v0)
makeRadialVariable in class RadialDatasetSweepAdapterpublic List getDataVariables()
TypedDataset
getDataVariables in interface RadialDatasetSweepgetDataVariables in interface TypedDatasetgetDataVariables in interface FeatureDatasetgetDataVariables in class TypedDatasetImplprotected void setStartDate()
setStartDate in class TypedDatasetImplprotected void setEndDate()
setEndDate in class TypedDatasetImpl
protected void setTimeUnits()
throws Exception
setTimeUnits in class RadialDatasetSweepAdapterExceptionpublic List getAttributes()
public DateUnit getTimeUnits()
RadialDatasetSweep
getTimeUnits in interface RadialDatasetSweepgetTimeUnits in class RadialDatasetSweepAdapterpublic void getTimeUnits(DateUnit dateUnits)
public void clearDatasetMemory()
RadialDatasetSweep
clearDatasetMemory in interface RadialDatasetSweep
public static void main(String[] args)
throws Exception,
IOException,
InstantiationException,
IllegalAccessException
Exception
IOException
InstantiationException
IllegalAccessException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||