ucar.nc2.dt.radial
Class CFnetCDF2Dataset

java.lang.Object
  extended by ucar.nc2.dt.TypedDatasetImpl
      extended by ucar.nc2.dt.radial.RadialDatasetSweepAdapter
          extended by ucar.nc2.dt.radial.CFnetCDF2Dataset
All Implemented Interfaces:
RadialDatasetSweep, TypedDataset, TypedDatasetFactoryIF, FeatureDataset, FileCacheable

public class CFnetCDF2Dataset
extends RadialDatasetSweepAdapter
implements TypedDatasetFactoryIF

Created by IntelliJ IDEA. User: yuanho Date: Jun 13, 2011 Time: 1:15:48 PM To change this template use File | Settings | File Templates.


Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.nc2.dt.radial.RadialDatasetSweepAdapter
RadialDatasetSweepAdapter.MyRadialVariableAdapter
 
Nested classes/interfaces inherited from interface ucar.nc2.dt.RadialDatasetSweep
RadialDatasetSweep.RadialVariable, RadialDatasetSweep.Sweep, RadialDatasetSweep.Type
 
Field Summary
 
Fields inherited from class ucar.nc2.dt.radial.RadialDatasetSweepAdapter
csHash, dateUnits, fileCache, origin
 
Fields inherited from class ucar.nc2.dt.TypedDatasetImpl
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title
 
Fields inherited from interface ucar.nc2.dt.RadialDatasetSweep
LevelII, UF
 
Constructor Summary
CFnetCDF2Dataset()
          _more_
CFnetCDF2Dataset(NetcdfDataset ds)
          Constructor.
 
Method Summary
protected  void addRadialVariable(NetcdfDataset nds, Variable var)
          _more_
 void clearDatasetMemory()
          _more_
 EarthLocation getCommonOrigin()
          _more_
 String getDataFormat()
          _more_
 String getInfo()
          _more_
 String getRadarID()
          _more_
 String getRadarName()
          _more_
 FeatureType getScientificDataType()
          _more_
 void init()
          _more_
 boolean isHighResolution(NetcdfDataset nds)
          _more_
 boolean isMine(NetcdfDataset ds)
          _more_
 boolean isStationary()
          _more_
 boolean isVolume()
          _more_
static void main(String[] args)
          _more_
protected  RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds, VariableSimpleIF v, Variable v0)
          _more_
 TypedDataset open(NetcdfDataset ncd, CancelTask task, StringBuilder errlog)
          _more_
protected  void setBoundingBox()
          _more_
protected  void setEarthLocation()
          _more_
protected  void setEndDate()
          _more_
protected  void setStartDate()
          _more_
protected  void setTimeUnits()
          _more_
 
Methods inherited from class ucar.nc2.dt.radial.RadialDatasetSweepAdapter
calcBounds, close, getCommonType, getDateRange, getDetailInfo, getDetailInfo, getEarthLocation, getFeatureType, getImplementationName, getTimeUnits, setFileCache, sync
 
Methods inherited from class ucar.nc2.dt.TypedDatasetImpl
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDescription, getEndDate, getGlobalAttributes, getLocation, getLocationURI, getNetcdfFile, getStartDate, getTitle, removeDataVariable, setDescription, setLocationURI, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ucar.nc2.dt.RadialDatasetSweep
getDataVariables
 
Methods inherited from interface ucar.nc2.dt.TypedDataset
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocationURI, getNetcdfFile, getStartDate, getTitle
 
Methods inherited from interface ucar.nc2.ft.FeatureDataset
findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDescription, getEndDate, getGlobalAttributes, getLocation, getNetcdfFile, getStartDate, getTitle
 

Constructor Detail

CFnetCDF2Dataset

public CFnetCDF2Dataset()
_more_


CFnetCDF2Dataset

public CFnetCDF2Dataset(NetcdfDataset ds)
Constructor.

Parameters:
ds - must be from nexrad2 IOSP
Method Detail

isMine

public boolean isMine(NetcdfDataset ds)
_more_

Specified by:
isMine in interface TypedDatasetFactoryIF
Parameters:
ds - _more_
Returns:
_more_

open

public TypedDataset open(NetcdfDataset ncd,
                         CancelTask task,
                         StringBuilder errlog)
                  throws IOException
_more_

Specified by:
open in interface TypedDatasetFactoryIF
Parameters:
ncd - _more_
task - _more_
errlog - _more_
Returns:
_more_
Throws:
IOException - _more_

getScientificDataType

public FeatureType getScientificDataType()
_more_

Specified by:
getScientificDataType in interface TypedDatasetFactoryIF
Returns:
_more_

init

public void init()
_more_


setBoundingBox

protected void setBoundingBox()
_more_

Overrides:
setBoundingBox in class RadialDatasetSweepAdapter

setEarthLocation

protected void setEarthLocation()
_more_

Specified by:
setEarthLocation in class RadialDatasetSweepAdapter

getCommonOrigin

public EarthLocation getCommonOrigin()
_more_

Specified by:
getCommonOrigin in interface RadialDatasetSweep
Returns:
_more_

getRadarID

public String getRadarID()
_more_

Specified by:
getRadarID in interface RadialDatasetSweep
Returns:
_more_

getRadarName

public String getRadarName()
_more_

Specified by:
getRadarName in interface RadialDatasetSweep
Returns:
_more_

getDataFormat

public String getDataFormat()
_more_

Specified by:
getDataFormat in interface RadialDatasetSweep
Returns:
_more_

isVolume

public boolean isVolume()
_more_

Specified by:
isVolume in interface RadialDatasetSweep
Returns:
_more_

isHighResolution

public boolean isHighResolution(NetcdfDataset nds)
_more_

Parameters:
nds - _more_
Returns:
_more_

isStationary

public boolean isStationary()
_more_

Specified by:
isStationary in interface RadialDatasetSweep
Returns:
_more_

setTimeUnits

protected void setTimeUnits()
                     throws Exception
_more_

Specified by:
setTimeUnits in class RadialDatasetSweepAdapter
Throws:
Exception - _more_

setStartDate

protected void setStartDate()
_more_

Specified by:
setStartDate in class TypedDatasetImpl

setEndDate

protected void setEndDate()
_more_

Specified by:
setEndDate in class TypedDatasetImpl

clearDatasetMemory

public void clearDatasetMemory()
_more_

Specified by:
clearDatasetMemory in interface RadialDatasetSweep

addRadialVariable

protected void addRadialVariable(NetcdfDataset nds,
                                 Variable var)
_more_

Specified by:
addRadialVariable in class RadialDatasetSweepAdapter
Parameters:
nds - _more_
var - _more_

makeRadialVariable

protected RadialDatasetSweep.RadialVariable makeRadialVariable(NetcdfDataset nds,
                                                               VariableSimpleIF v,
                                                               Variable v0)
_more_

Specified by:
makeRadialVariable in class RadialDatasetSweepAdapter
Parameters:
nds - _more_
v - _more_
v0 - _more_
Returns:
_more_

getInfo

public String getInfo()
_more_

Returns:
_more_

main

public static void main(String[] args)
                 throws Exception,
                        IOException,
                        InstantiationException,
                        IllegalAccessException
_more_

Parameters:
args - _more_
Throws:
Exception - _more_
IOException - _more_
IllegalAccessException - _more_
InstantiationException - _more_


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.