41 Accumulate(
const std::string& i_algoname,
const std::string& i_parname,
const double& dflt_max_gap_size,
const std::vector< std::pair<std::string, std::string> >& vecArgs,
const Config& cfg);
43 void resample(
const std::string& stationHash,
const size_t& index,
const ResamplingPosition& position,
const size_t& paramindex,
44 const std::vector<MeteoData>& vecM,
MeteoData& md);
47 static size_t findStartOfPeriod(
const std::vector<MeteoData>& vecM,
const size_t& index,
const Date& dateStart);
48 double easySampling(
const std::vector<MeteoData>& vecM,
const size_t& paramindex,
const size_t& ,
const size_t& start_idx,
const Date& dateStart,
const Date& resampling_date)
const;
49 double complexSampling(
const std::vector<MeteoData>& vecM,
const size_t& paramindex,
const size_t& index,
const size_t& start_idx,
const Date& dateStart,
const Date& resampling_date)
const;
51 double accumulate_period;
Accumulation over a user given period.
Definition: Accumulate.h:39
void resample(const std::string &stationHash, const size_t &index, const ResamplingPosition &position, const size_t ¶mindex, const std::vector< MeteoData > &vecM, MeteoData &md)
Definition: Accumulate.cc:136
Accumulate(const std::string &i_algoname, const std::string &i_parname, const double &dflt_max_gap_size, const std::vector< std::pair< std::string, std::string > > &vecArgs, const Config &cfg)
Definition: Accumulate.cc:28
std::string toString() const
Definition: Accumulate.cc:63
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 handle timestamps. This class handles conversion between different time display formats (I...
Definition: Date.h:87
A class to represent a singular measurement received from one station at a certain time (represented ...
Definition: MeteoData.h:108
Interface class for the temporal resampling algorithms.
Definition: ResamplingAlgorithms.h:43
ResamplingPosition
Definition: ResamplingAlgorithms.h:46