MeteoIODoc  MeteoIODoc-2.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mio::ProcUndercatch_Hamon Class Reference

Detailed Description

Correct precipitation for undercatch in winter conditions.

Author
Mathias Bavay
Date
2012-02-06

This implements the method for precipitation correction as described in "Computing actual precipitation", W. R. Hamon, in Distribution of precipitation in mountaineous areas, Geilo symposium 1, pp 159-174, World Meteorological Organization, Geneva, 1972. This correction depends on the usage of a shield around the gauge, therefore the type of rain gauge must be specified as an argument:

  • sh - original rain gauge as used in the reference, shielded
  • unsh - original rain gauge as used in the reference, unshielded
  • Hellmannsh - shielded and fitted on Weissflujoch (Switzerland) data
PSUM::filter1 = undercatch_hamon
PSUM::arg1 = sh

#include <ProcUndercatch_Hamon.h>

Public Member Functions

 ProcUndercatch_Hamon (const std::vector< std::string > &vec_args, const std::string &name)
 
virtual void process (const unsigned int &param, const std::vector< MeteoData > &ivec, std::vector< MeteoData > &ovec)
 
- Public Member Functions inherited from mio::ProcessingBlock
virtual ~ProcessingBlock ()
 
std::string getName () const
 
const ProcessingPropertiesgetProperties () const
 
const std::string toString () const
 

Additional Inherited Members

- Protected Member Functions inherited from mio::ProcessingBlock
 ProcessingBlock (const std::string &name)
 protected constructor only to be called by children More...
 
void convert_args (const size_t &min_nargs, const size_t &max_nargs, const std::vector< std::string > &vec_args, std::vector< double > &dbl_args) const
 
- Static Protected Member Functions inherited from mio::ProcessingBlock
static bool is_soft (std::vector< std::string > &vec_args)
 
static void readCorrections (const std::string &filter, const std::string &filename, const char &c_type, const double &init, std::vector< double > &corrections)
 
- Protected Attributes inherited from mio::ProcessingBlock
ProcessingProperties properties
 
const std::string block_name
 
- Static Protected Attributes inherited from mio::ProcessingBlock
static const double soil_albedo = .23
 
static const double snow_albedo = .85
 
static const double snow_thresh = .1
 parametrize the albedo from HS More...
 

Constructor & Destructor Documentation

mio::ProcUndercatch_Hamon::ProcUndercatch_Hamon ( const std::vector< std::string > &  vec_args,
const std::string &  name 
)

Member Function Documentation

void mio::ProcUndercatch_Hamon::process ( const unsigned int &  param,
const std::vector< MeteoData > &  ivec,
std::vector< MeteoData > &  ovec 
)
virtual

Implements mio::ProcessingBlock.


The documentation for this class was generated from the following files: