20#ifndef DATAGENERATOR_H
21#define DATAGENERATOR_H
45 DataGenerator(
const Config& cfg,
const std::set<std::string>& params_to_generate = std::set<std::string>());
49 void fillMissing(
METEO_SET& vecMeteo,
const std::vector<METEO_SET>& fullDataset,
const std::vector<size_t>& stations_idx)
const;
51 void fillMissing(std::vector<METEO_SET>& vecVecMeteo)
const;
57 static std::set<std::string> getParameters(
const Config& cfg);
58 static std::vector< GeneratorAlgorithm* > buildStack(
const Config& cfg,
const std::string& parname);
60 std::map< std::string, std::vector<GeneratorAlgorithm*> > mapAlgorithms;
61 static const std::string cmd_section, cmd_pattern, arg_pattern;
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
A class to generate meteo data from user-selected models or parametrizations. This class sits in betw...
Definition: DataGenerator.h:43
virtual ~DataGenerator()
Definition: DataGenerator.cc:54
DataGenerator & operator=(const DataGenerator &source)
Definition: DataGenerator.cc:63
DataGenerator(const Config &cfg, const std::set< std::string > ¶ms_to_generate=std::set< std::string >())
Definition: DataGenerator.cc:33
DataGenerator(const DataGenerator &c)
Definition: DataGenerator.h:46
const std::string toString() const
Definition: DataGenerator.cc:242
void fillMissing(METEO_SET &vecMeteo, const std::vector< METEO_SET > &fullDataset, const std::vector< size_t > &stations_idx) const
generate data to fill missing data points. This relies on data generators defined by the user for eac...
Definition: DataGenerator.cc:94
std::vector< MeteoData > METEO_SET
Definition: MeteoData.h:32