public class NidsRadialAdapter 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 |
---|
NidsRadialAdapter() |
NidsRadialAdapter(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 |
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, setBoundingBox, setDescription, setFileCache, setLocationURI, setTitle
public NidsRadialAdapter()
public NidsRadialAdapter(NetcdfDataset ds)
ds
- must be from nids 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()
public EarthLocation getCommonOrigin()
RadialDatasetSweep
public java.lang.String getRadarID()
public boolean isStationary()
RadialDatasetSweep
public java.lang.String getRadarName()
public java.lang.String getDataFormat()
public boolean isVolume()
RadialDatasetSweep
protected void setEarthLocation()
setEarthLocation
in class AbstractRadialAdapter
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
protected void addRadialVariable(NetcdfDataset nds, Variable var)
addRadialVariable
in class AbstractRadialAdapter
public void clearDatasetMemory()
RadialDatasetSweep
protected RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds, Variable v0)
makeRadialVariable
in class AbstractRadialAdapter
public java.lang.String getInfo()