41 Accumulate(
const std::string& i_algoname,
const std::string& i_parname,
const double& dflt_window_size,
const std::vector< std::pair<std::string, std::string> >& vecArgs);
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:125
Accumulate(const std::string &i_algoname, const std::string &i_parname, const double &dflt_window_size, const std::vector< std::pair< std::string, std::string > > &vecArgs)
Definition: Accumulate.cc:27
std::string toString() const
Definition: Accumulate.cc:52
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:107
Interface class for the temporal resampling algorithms.
Definition: ResamplingAlgorithms.h:43
ResamplingPosition
Definition: ResamplingAlgorithms.h:46