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

Detailed Description

Checks for physically reallistic incoming short wave radiation (ISWR) values. For each data point, the measured value must be:

  • more than the horizontal top of atmosphere potential radiation multiplied by the min_coeff coefficient;
  • less than the global horizontal potential radiation multiplied by the max_coeff coefficient.

Either no arguments are provided and these coefficients have the default values of 0.03 and 1.1 respectively or both must be provided. The default values come from Moradi, I., "Quality control of global solar radiation using sunshine duration hours", 2009, Energy 34, no. 1, 1-6.

ISWR::filter1 = PotentialSW
ISWR::arg1 = 0.03 1.1

#include <FilterPotentialSW.h>

Public Member Functions

 FilterPotentialSW (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::FilterBlock
virtual ~FilterBlock ()
 
- 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::FilterBlock
 FilterBlock (const std::string &filter_name)
 protected constructor only to be called by children More...
 
- 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::FilterBlock
static void extract_dbl_vector (const unsigned int &param, const std::vector< MeteoData > &ivec, std::vector< double > &ovec)
 
static void extract_dbl_vector (const unsigned int &param, const std::vector< const MeteoData * > &ivec, std::vector< double > &ovec)
 
- 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::FilterPotentialSW::FilterPotentialSW ( const std::vector< std::string > &  vec_args,
const std::string &  name 
)

Member Function Documentation

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

Implements mio::FilterBlock.


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