public class LevelII2Dataset 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 |
---|
LevelII2Dataset() |
LevelII2Dataset(NetcdfDataset ds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addRadialVariable(NetcdfDataset nds,
Variable var) |
void |
clearDatasetMemory()
Remove cached data, if any.
|
EarthLocation |
getCommonOrigin()
If all sweeps have the same origin, return it here, else null
|
java.lang.String |
getDataFormat() |
java.lang.String |
getInfo() |
java.lang.String |
getRadarID() |
java.lang.String |
getRadarName() |
void |
getRadialsNum() |
FeatureType |
getScientificDataType()
What kind of cientific data type will this return?
|
boolean |
isHighResolution(NetcdfDataset nds) |
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 |
setBoundingBox() |
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, getTimeUnits, reacquire, release, setFileCache
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setDescription, setLocationURI, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataVariables
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocation, getNetcdfFile, getStartDate, getTitle
public LevelII2Dataset()
public LevelII2Dataset(NetcdfDataset ds)
ds
- must be from nexrad2 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
protected void setBoundingBox()
setBoundingBox
in class RadialDatasetSweepAdapter
protected void setEarthLocation()
setEarthLocation
in class RadialDatasetSweepAdapter
public EarthLocation getCommonOrigin()
RadialDatasetSweep
getCommonOrigin
in interface RadialDatasetSweep
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 boolean isVolume()
RadialDatasetSweep
isVolume
in interface RadialDatasetSweep
public boolean isHighResolution(NetcdfDataset nds)
public boolean isStationary()
RadialDatasetSweep
isStationary
in interface RadialDatasetSweep
protected void setTimeUnits() throws java.lang.Exception
setTimeUnits
in class RadialDatasetSweepAdapter
java.lang.Exception
protected void setStartDate()
setStartDate
in class TypedDatasetImpl
protected void setEndDate()
setEndDate
in class TypedDatasetImpl
public void clearDatasetMemory()
RadialDatasetSweep
clearDatasetMemory
in interface RadialDatasetSweep
public void getRadialsNum()
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.lang.String getInfo()
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