public class Dorade2Dataset extends RadialDatasetSweepAdapter implements TypedDatasetFactoryIF
RadialDatasetSweepAdapter.MyRadialVariableAdapter
RadialDatasetSweep.RadialVariable, RadialDatasetSweep.Sweep, RadialDatasetSweep.Type
calDateUnits, csHash, dateUnits, fileCache, origin
boundingBox, dataVariables, desc, endDate, location, netcdfDataset, parseInfo, startDate, title
Constructor and Description |
---|
Dorade2Dataset() |
Dorade2Dataset(NetcdfDataset ds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addRadialVariable(NetcdfDataset nds,
Variable var) |
void |
clearDatasetMemory()
Remove cached data, if any.
|
java.util.List |
getAttributes() |
EarthLocation |
getCommonOrigin()
If all sweeps have the same origin, return it here, else null
|
java.lang.String |
getDataFormat() |
java.util.List |
getDataVariables()
The data Variables available in this dataset.
|
java.lang.String |
getRadarID() |
java.lang.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(java.lang.String[] args) |
protected RadialDatasetSweep.RadialVariable |
makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
Variable v0) |
TypedDataset |
open(NetcdfDataset ncd,
CancelTask task,
java.lang.StringBuilder errlog)
Open a NetcdfDataset as a TypedDataset.
|
protected void |
setEarthLocation() |
protected void |
setEndDate() |
protected void |
setStartDate() |
protected void |
setTimeUnits() |
calcBounds, close, getCalendarDateEnd, getCalendarDateRange, getCalendarDateStart, getCalendarDateUnit, getCommonType, getDateRange, getDetailInfo, getDetailInfo, getEarthLocation, getFeatureType, getImplementationName, getLastModified, reacquire, release, setBoundingBox, setFileCache
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setDescription, setLocationURI, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocation, getNetcdfFile, getStartDate, getTitle
public Dorade2Dataset()
public Dorade2Dataset(NetcdfDataset ds)
ds
- must be from dorade IOSPpublic boolean isMine(NetcdfDataset ds)
TypedDatasetFactoryIF
isMine
in interface TypedDatasetFactoryIF
ds
- examine this NetcdfDataset to see if it belongs to this class.public TypedDataset open(NetcdfDataset ncd, CancelTask task, java.lang.StringBuilder errlog) throws java.io.IOException
TypedDatasetFactoryIF
open
in interface TypedDatasetFactoryIF
ncd
- already opened NetcdfDataset.task
- use may cancelerrlog
- place errors herejava.io.IOException
- on errorpublic FeatureType getScientificDataType()
TypedDatasetFactoryIF
getScientificDataType
in interface TypedDatasetFactoryIF
public java.lang.String getRadarID()
getRadarID
in interface RadialDatasetSweep
public java.lang.String getRadarName()
getRadarName
in interface RadialDatasetSweep
public java.lang.String getDataFormat()
getDataFormat
in interface RadialDatasetSweep
public EarthLocation getCommonOrigin()
RadialDatasetSweep
getCommonOrigin
in interface RadialDatasetSweep
public boolean isStationary()
RadialDatasetSweep
isStationary
in interface RadialDatasetSweep
public boolean isVolume()
RadialDatasetSweep
isVolume
in interface RadialDatasetSweep
protected 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 RadialDatasetSweepAdapter
public java.util.List getDataVariables()
TypedDataset
getDataVariables
in interface RadialDatasetSweep
getDataVariables
in interface TypedDataset
getDataVariables
in interface FeatureDataset
getDataVariables
in class TypedDatasetImpl
protected void setStartDate()
setStartDate
in class TypedDatasetImpl
protected void setEndDate()
setEndDate
in class TypedDatasetImpl
protected void setTimeUnits() throws java.lang.Exception
setTimeUnits
in class RadialDatasetSweepAdapter
java.lang.Exception
public java.util.List getAttributes()
public DateUnit getTimeUnits()
RadialDatasetSweep
getTimeUnits
in interface RadialDatasetSweep
getTimeUnits
in class RadialDatasetSweepAdapter
public void getTimeUnits(DateUnit dateUnits)
public void clearDatasetMemory()
RadialDatasetSweep
clearDatasetMemory
in interface RadialDatasetSweep
public static void main(java.lang.String[] args) throws java.lang.Exception, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.Exception
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException