public class Netcdf2Dataset 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 |
---|
Netcdf2Dataset() |
Netcdf2Dataset(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()
What kind of cientific data type will this return?
|
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,
|
static void |
main(java.lang.String[] args) |
protected RadialDatasetSweep.RadialVariable |
makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
Variable v0) |
TypedDataset |
open(NetcdfDataset ncd,
CancelTask task,
java.lang.StringBuilder errlog)
Open a NetcdfDataset as a TypedDataset.
|
protected void |
setEarthLocation() |
protected void |
setEndDate() |
void |
setIsVolume(NetcdfDataset nds) |
protected void |
setStartDate() |
protected void |
setTimeUnits() |
calcBounds, close, getCalendarDateEnd, getCalendarDateRange, getCalendarDateStart, getCalendarDateUnit, getCommonType, getDateRange, getDetailInfo, getDetailInfo, getEarthLocation, getFeatureType, getImplementationName, getLastModified, getTimeUnits, reacquire, release, setBoundingBox, 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 Netcdf2Dataset()
public Netcdf2Dataset(NetcdfDataset ds)
ds
- must be from netcdf IOSPpublic 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 EarthLocation getCommonOrigin()
RadialDatasetSweep
getCommonOrigin
in interface RadialDatasetSweep
public java.lang.String getRadarID()
getRadarID
in interface RadialDatasetSweep
public boolean isStationary()
RadialDatasetSweep
isStationary
in interface RadialDatasetSweep
public java.lang.String getRadarName()
getRadarName
in interface RadialDatasetSweep
public java.lang.String getDataFormat()
getDataFormat
in interface RadialDatasetSweep
public void setIsVolume(NetcdfDataset nds)
public boolean isVolume()
RadialDatasetSweep
isVolume
in interface RadialDatasetSweep
protected void setEarthLocation()
setEarthLocation
in class RadialDatasetSweepAdapter
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
protected void addRadialVariable(NetcdfDataset nds, Variable var)
addRadialVariable
in class RadialDatasetSweepAdapter
protected RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds, VariableSimpleIF v, Variable v0)
makeRadialVariable
in class RadialDatasetSweepAdapter
public void clearDatasetMemory()
RadialDatasetSweep
clearDatasetMemory
in interface RadialDatasetSweep
public java.lang.String getInfo()
public static void main(java.lang.String[] args) throws java.lang.Exception, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.Exception
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException