public class CFRadialAdapter extends AbstractRadialAdapter
AbstractRadialAdapter.MyRadialVariableAdapterRadialDatasetSweep.RadialVariable, RadialDatasetSweep.Sweep, RadialDatasetSweep.TypeboundingBox, calDateUnits, csHash, dataVariables, dateUnits, desc, endDate, fileCache, location, netcdfDataset, origin, parseInfo, startDate, title| Constructor and Description |
|---|
CFRadialAdapter() |
CFRadialAdapter(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() |
void |
init() |
boolean |
isHighResolution(NetcdfDataset nds) |
java.lang.Object |
isMine(FeatureType wantFeatureType,
NetcdfDataset ncd,
java.util.Formatter errlog)
Determine if the factory can open this dataset as an instance of the given feature type
|
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_
|
FeatureDataset |
open(FeatureType ftype,
NetcdfDataset ncd,
java.lang.Object analysis,
CancelTask task,
java.util.Formatter errlog)
Open a NetcdfDataset as a FeatureDataset.
|
protected void |
setBoundingBox() |
protected void |
setEarthLocation() |
protected void |
setEndDate() |
protected void |
setStartDate() |
protected void |
setTimeUnits() |
calcBounds, close, findGlobalAttributeIgnoreCase, getBoundingBox, getCalendarDateEnd, getCalendarDateRange, getCalendarDateStart, getCalendarDateUnit, getCommonType, getDataVariable, getDataVariables, getDateRange, getDescription, getDetailInfo, getDetailInfo, getEarthLocation, getEndDate, getFeatureType, getFeatureTypes, getGlobalAttributes, getImplementationName, getLastModified, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTimeUnits, getTitle, reacquire, release, removeDataVariable, setDescription, setFileCache, setLocationURI, setTitlepublic CFRadialAdapter()
public CFRadialAdapter(NetcdfDataset ds)
ds - Source NetCDF datasetpublic java.lang.Object isMine(FeatureType wantFeatureType, NetcdfDataset ncd, java.util.Formatter errlog) throws java.io.IOException
FeatureDatasetFactorywantFeatureType - can factory open as this feature type? If null, can factory open as any feature type?ncd - examine this NetcdfDataset.errlog - place errors herejava.io.IOException - on read errorpublic FeatureDataset open(FeatureType ftype, NetcdfDataset ncd, java.lang.Object analysis, CancelTask task, java.util.Formatter errlog) throws java.io.IOException
FeatureDatasetFactoryftype - open as this feature type. If null, open as any feature type.ncd - an already opened NetcdfDataset.analysis - the object returned from isMine(). Likely given to a different instance of FeatureDatasetFactorytask - user may cancel, may be nullerrlog - write error messages here, may be nulljava.io.IOException - on errorpublic FeatureType getScientificDataType()
public void init()
protected void setBoundingBox()
setBoundingBox in class AbstractRadialAdapterprotected void setEarthLocation()
setEarthLocation in class AbstractRadialAdapterpublic EarthLocation getCommonOrigin()
RadialDatasetSweeppublic java.lang.String getRadarID()
public java.lang.String getRadarName()
public java.lang.String getDataFormat()
public boolean isVolume()
RadialDatasetSweeppublic boolean isHighResolution(NetcdfDataset nds)
public boolean isStationary()
RadialDatasetSweepprotected void setTimeUnits()
throws java.lang.Exception
setTimeUnits in class AbstractRadialAdapterjava.lang.Exceptionprotected void setStartDate()
setStartDate in class AbstractRadialAdapterprotected void setEndDate()
setEndDate in class AbstractRadialAdapterpublic void clearDatasetMemory()
RadialDatasetSweepprotected void addRadialVariable(NetcdfDataset nds, Variable var)
addRadialVariable in class AbstractRadialAdapternds - _more_var - _more_protected RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds, VariableSimpleIF v, Variable v0)
makeRadialVariable in class AbstractRadialAdapternds - _more_v - _more_v0 - _more_public java.lang.String getInfo()