public class Netcdf2Dataset extends RadialDatasetSweepAdapter implements TypedDatasetFactoryIF
RadialDatasetSweepAdapter.MyRadialVariableAdapter
RadialDatasetSweep.RadialVariable, RadialDatasetSweep.Sweep, RadialDatasetSweep.Type
csHash, dateUnits, fileCache, origin
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title
LevelII, UF
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
|
String |
getDataFormat() |
String |
getInfo() |
String |
getRadarID() |
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(String[] args) |
protected RadialDatasetSweep.RadialVariable |
makeRadialVariable(NetcdfDataset nds,
VariableSimpleIF v,
Variable v0) |
TypedDataset |
open(NetcdfDataset ncd,
CancelTask task,
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, getCommonType, getDateRange, getDetailInfo, getDetailInfo, getEarthLocation, getFeatureType, getImplementationName, getLastModified, getTimeUnits, 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, StringBuilder errlog) throws IOException
TypedDatasetFactoryIF
open
in interface TypedDatasetFactoryIF
ncd
- already opened NetcdfDataset.task
- use may cancelerrlog
- place errors hereIOException
- on errorpublic FeatureType getScientificDataType()
TypedDatasetFactoryIF
getScientificDataType
in interface TypedDatasetFactoryIF
public EarthLocation getCommonOrigin()
RadialDatasetSweep
getCommonOrigin
in interface RadialDatasetSweep
public String getRadarID()
getRadarID
in interface RadialDatasetSweep
public boolean isStationary()
RadialDatasetSweep
isStationary
in interface RadialDatasetSweep
public String getRadarName()
getRadarName
in interface RadialDatasetSweep
public 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 Exception
setTimeUnits
in class RadialDatasetSweepAdapter
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 String getInfo()
public static void main(String[] args) throws Exception, IOException, InstantiationException, IllegalAccessException
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.