Filters out snow melting in an unheated rain gauge. This filter can ONLY be applied to precipitation. Non-zero measurements are accepted only if they take place when the relative humidity is greater than 0.5 and (TA-TSS) < 3, otherwise they get reset to 0. It can take two optional arguments overwriting these thresholds. If none of these conditions could be tested (for lack of data), then the precipitation is reset to nodata. On the contrary, if the "soft" option is given, the lack of validation data keeps the precipitation as it is.
- Author
- Mathias Bavay
- Date
- 2011-11-11
PSUM::filter2 = unheated_raingauge
PSUM::arg2 = soft 0.5 3.
|
| 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...
|
|