19#ifndef PRECSPLITTING_H
20#define PRECSPLITTING_H
86 PrecSplitting(
const std::vector< std::pair<std::string, std::string> >& vecArgs,
const std::string& i_algo,
const std::string& i_section,
const double& TZ)
88 range_start(IOUtils::
nodata), range_norm(IOUtils::
nodata) { parse_args(vecArgs); }
90 bool generate(
const size_t& param,
MeteoData& md,
const std::vector<MeteoData>& vecMeteo);
91 bool create(
const size_t& param,
const size_t& ii_min,
const size_t& ii_max, std::vector<MeteoData>& vecMeteo);
94 void parse_args(
const std::vector< std::pair<std::string, std::string> >& vecArgs);
95 bool generatePSUM_S(
double& value,
MeteoData& md)
const;
96 bool generatePSUM_L(
double& value,
MeteoData& md)
const;
97 bool generatePSUM_PH(
double& value,
MeteoData& md)
const;
98 bool generatePSUM(
double& value,
MeteoData& md)
const;
99 bool runModel(
double &value,
MeteoData& md)
const;
101 typedef enum PARAMETRIZATION {
106 parametrization model;
107 const std::string where;
108 double fixed_thresh, range_start, range_norm;
Interface class for the generator models.
Definition: GeneratorAlgorithms.h:111
const std::string algo
Definition: GeneratorAlgorithms.h:161
const std::string section
Definition: GeneratorAlgorithms.h:161
A class to represent a singular measurement received from one station at a certain time (represented ...
Definition: MeteoData.h:108
Generate precipitation phase or splitting according to the selected method.
Definition: PrecSplitting.h:84
bool create(const size_t ¶m, const size_t &ii_min, const size_t &ii_max, std::vector< MeteoData > &vecMeteo)
Fill one time series of MeteoData for one station.
Definition: PrecSplitting.cc:63
bool generate(const size_t ¶m, MeteoData &md, const std::vector< MeteoData > &vecMeteo)
Definition: PrecSplitting.cc:105
PrecSplitting(const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_section, const double &TZ)
Definition: PrecSplitting.h:86
const double nodata
This is the internal nodata value.
Definition: IOUtils.h:75