Min/Max range filter.
- Author
- Thomas Egger
- Date
- 2011-01-02 Reject all values greater than the max or smaller than the min. Remarks:
- two arguments have to be provided, min and max (in SI)
- the keyword "soft" maybe added, in such a case all data greater than the max would be assigned the maximum permissible value and all data smaller than the min would be assigned the minimum permissible value or an optional extra set of two user provided values (see example below)
TA::filter1 = min_max
TA::arg1 = 230 330
ISWR::filter1 = min_max
ISWR::arg1 = soft 8 1500 0 1498
#include <FilterMinMax.h>
|
| FilterBlock (const std::string &filter_name) |
| protected constructor only to be called by children More...
|
|
| 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 void | extract_dbl_vector (const unsigned int ¶m, const std::vector< MeteoData > &ivec, std::vector< double > &ovec) |
|
static void | extract_dbl_vector (const unsigned int ¶m, const std::vector< const MeteoData * > &ivec, std::vector< double > &ovec) |
|
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) |
|
ProcessingProperties | properties |
|
const std::string | block_name |
|
static const double | soil_albedo = .23 |
|
static const double | snow_albedo = .85 |
|
static const double | snow_thresh = .1 |
| parametrize the albedo from HS More...
|
|
mio::FilterMinMax::FilterMinMax |
( |
const std::vector< std::string > & |
vec_args, |
|
|
const std::string & |
name |
|
) |
| |
void mio::FilterMinMax::process |
( |
const unsigned int & |
param, |
|
|
const std::vector< MeteoData > & |
ivec, |
|
|
std::vector< MeteoData > & |
ovec |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: