code::LevelIIAccumulator Class Reference

Inheritance diagram for code::LevelIIAccumulator:

code::LDMLevelIIDataHandler::LevelIIHandler code::RadarDataAccumulator List of all members.

Detailed Description

A class that uses the LevelII data to collect radials into elevation scans and provides access to the elevation scans.

Author:
Lakshman
Version:
Id
code_LevelIIAccumulator.h,v 1.20 2009/06/02 20:17:50 lakshman Exp


Public Member Functions

 LevelIIAccumulator (const Location &radarLoc, const std::string &radar_name, bool baseProducts=false)
 The level-II feed does not encode the radar location, so it needs to be provided.
virtual void processVolumeStart (const LevelII::VolumeHeader &)
virtual void processRadial (const LevelII::Radial &)
virtual ~LevelIIAccumulator ()
virtual void handleIncompleteData ()
 handle error in the stream.
virtual void writeRadials ()
void addElevationHandler (InitSmartPtr< ElevationHandler > h)
SmartPtr< RadialSet > getReflectivity ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getVelocity ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getSpectrumWidth ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getAliasedVelocity ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getSignalToNoise ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getZdr ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getPhi ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getRhoHV ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getSNRR ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
SmartPtr< RadialSet > getSNRD ()
 This method may return an invalid pointer if the elevation was empty or if the data were unavailable.
const Time & getVolumeStartTime () const

Static Public Attributes

static double DEFAULT_AZIMUTHAL_SPACING
 The azimuthal spacing of the radials is set to be the difference in azimuth between the current and the next.

Protected Member Functions

virtual void writeRadials (const bool clear=true, const std::string &prefix="")

Protected Attributes

SmartPtr< RadialSet > ref
SmartPtr< RadialSet > vel
SmartPtr< RadialSet > spw
SmartPtr< RadialSet > zdr
SmartPtr< RadialSet > phi
SmartPtr< RadialSet > rhohv
SmartPtr< RadialSet > snrr
SmartPtr< RadialSet > snrd
SmartPtr< RadialSet > uvel
SmartPtr< RadialSet > snr
Location radarLoc
std::string radarName
Time volStartTime
std::vector< SmartPtr< ElevationHandler > > m_handlers


Constructor & Destructor Documentation

code::LevelIIAccumulator::LevelIIAccumulator ( const Location &  radarLoc,
const std::string &  radar_name,
bool  baseProducts = false 
)

The level-II feed does not encode the radar location, so it needs to be provided.

virtual code::LevelIIAccumulator::~LevelIIAccumulator (  )  [virtual]


Member Function Documentation

void code::RadarDataAccumulator::addElevationHandler ( InitSmartPtr< ElevationHandler h  )  [inline, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::getAliasedVelocity (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

SmartPtr<RadialSet> code::RadarDataAccumulator::getPhi (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

SmartPtr<RadialSet> code::RadarDataAccumulator::getReflectivity (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

SmartPtr<RadialSet> code::RadarDataAccumulator::getRhoHV (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

SmartPtr<RadialSet> code::RadarDataAccumulator::getSignalToNoise (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

SmartPtr<RadialSet> code::RadarDataAccumulator::getSNRD (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

SmartPtr<RadialSet> code::RadarDataAccumulator::getSNRR (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

SmartPtr<RadialSet> code::RadarDataAccumulator::getSpectrumWidth (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

SmartPtr<RadialSet> code::RadarDataAccumulator::getVelocity (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

const Time& code::RadarDataAccumulator::getVolumeStartTime (  )  const [inline, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::getZdr (  )  [inline, inherited]

This method may return an invalid pointer if the elevation was empty or if the data were unavailable.

virtual void code::LevelIIAccumulator::handleIncompleteData (  )  [virtual]

handle error in the stream.

Implements code::LDMLevelIIDataHandler::LevelIIHandler.

virtual void code::LevelIIAccumulator::processRadial ( const LevelII::Radial  )  [virtual]

Implements code::LDMLevelIIDataHandler::LevelIIHandler.

virtual void code::LevelIIAccumulator::processVolumeStart ( const LevelII::VolumeHeader  )  [virtual]

Implements code::LDMLevelIIDataHandler::LevelIIHandler.

virtual void code::RadarDataAccumulator::writeRadials ( const bool  clear = true,
const std::string &  prefix = "" 
) [protected, virtual, inherited]

virtual void code::LevelIIAccumulator::writeRadials (  )  [virtual]


Member Data Documentation

double code::LevelIIAccumulator::DEFAULT_AZIMUTHAL_SPACING [static]

The azimuthal spacing of the radials is set to be the difference in azimuth between the current and the next.

For radials where this definition does not work or causes errors larger than MAXIMUM_BEAM_WIDTH_ERROR, the default beam-width will be used.

For example, the last radial may be assumed to have this spacing. default value: 1.0 degree.

std::vector< SmartPtr< ElevationHandler > > code::RadarDataAccumulator::m_handlers [protected, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::phi [protected, inherited]

Location code::RadarDataAccumulator::radarLoc [protected, inherited]

std::string code::RadarDataAccumulator::radarName [protected, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::ref [protected, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::rhohv [protected, inherited]

SmartPtr< RadialSet > code::RadarDataAccumulator::snr [protected, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::snrd [protected, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::snrr [protected, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::spw [protected, inherited]

SmartPtr< RadialSet > code::RadarDataAccumulator::uvel [protected, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::vel [protected, inherited]

Time code::RadarDataAccumulator::volStartTime [protected, inherited]

SmartPtr<RadialSet> code::RadarDataAccumulator::zdr [protected, inherited]


Generated on Fri May 4 13:40:22 2012 for WDSS-IIw2algs by  doxygen 1.4.7