public class Nexrad2RadialAdapter extends AbstractRadialAdapter
AbstractRadialAdapter.MyRadialVariableAdapterboundingBox, calDateUnits, csHash, dataVariables, dateUnits, desc, endDate, fileCache, location, netcdfDataset, origin, parseInfo, startDate, title| Constructor and Description |
|---|
Nexrad2RadialAdapter() |
Nexrad2RadialAdapter(NetcdfDataset ds)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRadialVariable(NetcdfDataset nds,
Variable var) |
void |
clearDatasetMemory() |
EarthLocation |
getCommonOrigin() |
java.lang.String |
getDataFormat() |
java.lang.String |
getInfo() |
java.lang.String |
getRadarID() |
java.lang.String |
getRadarName() |
void |
getRadialsNum() |
FeatureType |
getScientificDataType() |
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() |
boolean |
isVolume() |
protected ucar.nc2.dt.RadialDatasetSweep.RadialVariable |
makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
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() |
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 Nexrad2RadialAdapter()
public Nexrad2RadialAdapter(NetcdfDataset ds)
ds - must be from nexrad2 IOSPpublic 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()
protected void setBoundingBox()
setBoundingBox in class AbstractRadialAdapterprotected void setEarthLocation()
setEarthLocation in class AbstractRadialAdapterpublic EarthLocation getCommonOrigin()
public java.lang.String getRadarID()
public java.lang.String getRadarName()
public java.lang.String getDataFormat()
public boolean isVolume()
public boolean isHighResolution(NetcdfDataset nds)
public boolean isStationary()
protected 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()
public void getRadialsNum()
protected void addRadialVariable(NetcdfDataset nds, Variable var)
addRadialVariable in class AbstractRadialAdapterprotected ucar.nc2.dt.RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds, VariableSimpleIF v, Variable v0)
makeRadialVariable in class AbstractRadialAdapterpublic java.lang.String getInfo()