public class CFnetCDF2Dataset 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 |
---|
CFnetCDF2Dataset() |
CFnetCDF2Dataset(NetcdfDataset ds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addRadialVariable(NetcdfDataset nds,
Variable var)
_more_
|
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()
_more_
|
java.lang.String |
getRadarID() |
java.lang.String |
getRadarName() |
FeatureType |
getScientificDataType()
What kind of cientific data type will this return?
|
void |
init() |
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,
|
protected RadialDatasetSweep.RadialVariable |
makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
Variable v0)
_more_
|
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 CFnetCDF2Dataset()
public CFnetCDF2Dataset(NetcdfDataset ds)
ds
- Source NetCDF datasetpublic 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 void init()
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
protected void addRadialVariable(NetcdfDataset nds, Variable var)
addRadialVariable
in class RadialDatasetSweepAdapter
nds
- _more_var
- _more_protected RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds, VariableSimpleIF v, Variable v0)
makeRadialVariable
in class RadialDatasetSweepAdapter
nds
- _more_v
- _more_v0
- _more_public java.lang.String getInfo()