public class UF2RadialAdapter extends AbstractRadialAdapter
AbstractRadialAdapter.MyRadialVariableAdapter
RadialDatasetSweep.RadialVariable, RadialDatasetSweep.Sweep, RadialDatasetSweep.Type
boundingBox, calDateUnits, csHash, dataVariables, dateUnits, desc, endDate, fileCache, location, netcdfDataset, origin, parseInfo, startDate, title
Constructor and Description |
---|
UF2RadialAdapter() |
UF2RadialAdapter(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() |
FeatureType |
getScientificDataType() |
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,
Variable v0) |
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() |
attributes, 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, setTitle
public UF2RadialAdapter()
public UF2RadialAdapter(NetcdfDataset ds)
ds
- must be from nexrad2 IOSPpublic java.lang.Object isMine(FeatureType wantFeatureType, NetcdfDataset ncd, java.util.Formatter errlog)
FeatureDatasetFactory
wantFeatureType
- can factory open as this feature type? If null, can factory open as any feature type?ncd
- examine this NetcdfDataset.errlog
- place errors herepublic FeatureDataset open(FeatureType ftype, NetcdfDataset ncd, java.lang.Object analysis, CancelTask task, java.util.Formatter errlog)
FeatureDatasetFactory
ftype
- 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 nullpublic FeatureType getScientificDataType()
protected void setBoundingBox()
setBoundingBox
in class AbstractRadialAdapter
protected void setEarthLocation()
setEarthLocation
in class AbstractRadialAdapter
public EarthLocation getCommonOrigin()
RadialDatasetSweep
public java.lang.String getRadarID()
public java.lang.String getRadarName()
public java.lang.String getDataFormat()
public boolean isVolume()
RadialDatasetSweep
public boolean isStationary()
RadialDatasetSweep
protected void setTimeUnits() throws java.lang.Exception
setTimeUnits
in class AbstractRadialAdapter
java.lang.Exception
protected void setStartDate()
setStartDate
in class AbstractRadialAdapter
protected void setEndDate()
setEndDate
in class AbstractRadialAdapter
public void clearDatasetMemory()
RadialDatasetSweep
protected void addRadialVariable(NetcdfDataset nds, Variable var)
addRadialVariable
in class AbstractRadialAdapter
protected RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds, Variable v0)
makeRadialVariable
in class AbstractRadialAdapter
public java.lang.String getInfo()