19#ifndef HUMIDITYGENERATOR_H
20#define HUMIDITYGENERATOR_H
42 HumidityGenerator(
const std::vector< std::pair<std::string, std::string> >& vecArgs,
const std::string& i_algo,
const std::string& i_section,
const double& TZ)
43 :
GeneratorAlgorithm(vecArgs, i_algo, i_section, TZ), type(GEN_RH) { parse_args(vecArgs); }
44 bool generate(
const size_t& param,
MeteoData& md,
const std::vector<MeteoData>& vecMeteo);
45 bool create(
const size_t& param,
const size_t& ii_min,
const size_t& ii_max, std::vector<MeteoData>& vecMeteo);
48 void parse_args(
const std::vector< std::pair<std::string, std::string> >& vecArgs);
50 static bool generateAH(
double& value,
MeteoData& md);
51 static bool generateRH(
double& value,
MeteoData& md);
52 static bool generateTD(
double& value,
MeteoData& md);
53 static bool generateQI(
double& value,
MeteoData& md);
55 typedef enum GEN_TYPE {
Interface class for the generator models.
Definition: GeneratorAlgorithms.h:111
(Relative/Specifc) Humidity or Dew Point temperature generator.
Definition: HumidityGenerator.h:40
HumidityGenerator(const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_section, const double &TZ)
Definition: HumidityGenerator.h:42
bool generate(const size_t ¶m, MeteoData &md, const std::vector< MeteoData > &vecMeteo)
Definition: HumidityGenerator.cc:43
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: HumidityGenerator.cc:56
A class to represent a singular measurement received from one station at a certain time (represented ...
Definition: MeteoData.h:107