w2preciprate::PrecipRate Class Reference

Inheritance diagram for w2preciprate::PrecipRate:

w2preciprate::RainRateTable List of all members.

Detailed Description

Algorithm main class, whose methods are invoked by various listeners in w2preciprate_main.cc Interface code auto-generated by w2algcreator.

Author:
w2user
Version:
Id
w2preciprate_PrecipRate.h,v 1.8 2009/06/02 20:18:01 lakshman Exp


Public Member Functions

 PrecipRate (const std::string &outputDir, const std::string &outputLBName, bool realtime, const std::string &dataColumnName, const std::string &idColumnName, bool useKalmanFilter, const std::string &shiThreshold, const std::string &zr)
 Algorithm constructor, called from the _main with the command-line options passed in.
void processReflectivity (const code::LatLonGrid &data)
void processSHI (const code::LatLonGrid &data)
code::LatLonGrid correctBias (const code::LatLonGrid &rate)
void processRainTable (const code::DataTable &data)
virtual void processRainRateTable (const code::DataTable &tbl)
 Process rain-rate table.
virtual bool getXY (const code::Location &stationLoc, int *x, int *y)
 compute the x,y locations within the grid of interest, and
virtual ~PrecipRate ()
void updateRainRate (const code::DataTable &tbl)
 update the rain-rate observations using data from this table.

Static Public Member Functions

static bool computeXY (const code::LatLonGrid &grid, const code::Location &loc, int *x, int *y)
 convenience function that provides an implementation of getXY for a LatLonGrid.

Static Public Attributes

static const std::string RainRateUnit
static const std::string RainRateColumnName

Protected Types

typedef std::map< std::string,
StationObservation > 
ObsMap

Protected Attributes

code::SmartPtr< code::IndexRecordNotifier > myLB
std::string myOutputDir
std::string myRainColumn
std::string myRowName
ObsMap observations
bool shouldUseKalman


Member Typedef Documentation

typedef std::map< std::string, StationObservation > w2preciprate::RainRateTable::ObsMap [protected, inherited]


Constructor & Destructor Documentation

w2preciprate::PrecipRate::PrecipRate ( const std::string &  outputDir,
const std::string &  outputLBName,
bool  realtime,
const std::string &  dataColumnName,
const std::string &  idColumnName,
bool  useKalmanFilter,
const std::string &  shiThreshold,
const std::string &  zr 
)

Algorithm constructor, called from the _main with the command-line options passed in.

virtual w2preciprate::PrecipRate::~PrecipRate (  )  [inline, virtual]


Member Function Documentation

static bool w2preciprate::RainRateTable::computeXY ( const code::LatLonGrid &  grid,
const code::Location &  loc,
int *  x,
int *  y 
) [static, inherited]

convenience function that provides an implementation of getXY for a LatLonGrid.

code::LatLonGrid w2preciprate::PrecipRate::correctBias ( const code::LatLonGrid &  rate  ) 

virtual bool w2preciprate::PrecipRate::getXY ( const code::Location &  stationLoc,
int *  x,
int *  y 
) [virtual]

compute the x,y locations within the grid of interest, and

Returns:
true if this location is of interest.

Implements w2preciprate::RainRateTable.

virtual void w2preciprate::PrecipRate::processRainRateTable ( const code::DataTable &  tbl  )  [virtual]

Process rain-rate table.

Current implementation is to do nothing.

Reimplemented from w2preciprate::RainRateTable.

void w2preciprate::PrecipRate::processRainTable ( const code::DataTable &  data  ) 

void w2preciprate::PrecipRate::processReflectivity ( const code::LatLonGrid &  data  ) 

void w2preciprate::PrecipRate::processSHI ( const code::LatLonGrid &  data  ) 

void w2preciprate::RainRateTable::updateRainRate ( const code::DataTable &  tbl  )  [inherited]

update the rain-rate observations using data from this table.


Member Data Documentation

code::SmartPtr<code::IndexRecordNotifier> w2preciprate::RainRateTable::myLB [protected, inherited]

std::string w2preciprate::RainRateTable::myOutputDir [protected, inherited]

std::string w2preciprate::RainRateTable::myRainColumn [protected, inherited]

std::string w2preciprate::RainRateTable::myRowName [protected, inherited]

ObsMap w2preciprate::RainRateTable::observations [protected, inherited]

const std::string w2preciprate::RainRateTable::RainRateColumnName [static, inherited]

const std::string w2preciprate::RainRateTable::RainRateUnit [static, inherited]

bool w2preciprate::RainRateTable::shouldUseKalman [protected, inherited]


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