w2preciprate::RainGaugePrecipRate Class Reference

Inheritance diagram for w2preciprate::RainGaugePrecipRate:

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:
lakshman
Version:
Id
w2preciprate_RainGaugePrecipRate.h,v 1.7 2009/06/02 20:18:01 lakshman Exp


Public Member Functions

 RainGaugePrecipRate (const std::string &outputDir, const std::string &outputLBName, bool realtime, const std::string &dataColumnName, const std::string &idColumnName, const std::string &topLeftCorner, const std::string &bottomRightCorner, const std::string &latlonspacing, bool smoothWithTime)
 Algorithm constructor, called from the _main with the command-line options passed in.
void processTableName (const code::DataTable &data)
virtual ~RainGaugePrecipRate ()
virtual bool getXY (const code::Location &loc, int *x, int *y)
 compute the x,y locations within the grid of interest, and
virtual void processRainRateTable (const code::DataTable &result)
 Process rain-rate table.
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::RainGaugePrecipRate::RainGaugePrecipRate ( const std::string &  outputDir,
const std::string &  outputLBName,
bool  realtime,
const std::string &  dataColumnName,
const std::string &  idColumnName,
const std::string &  topLeftCorner,
const std::string &  bottomRightCorner,
const std::string &  latlonspacing,
bool  smoothWithTime 
)

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

virtual w2preciprate::RainGaugePrecipRate::~RainGaugePrecipRate (  )  [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.

virtual bool w2preciprate::RainGaugePrecipRate::getXY ( const code::Location &  loc,
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::RainGaugePrecipRate::processRainRateTable ( const code::DataTable &  result  )  [virtual]

Process rain-rate table.

Current implementation is to do nothing.

Reimplemented from w2preciprate::RainRateTable.

void w2preciprate::RainGaugePrecipRate::processTableName ( const code::DataTable &  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