19#ifndef DAILY_AVERAGE_RESAMPLING_H
20#define DAILY_AVERAGE_RESAMPLING_H
48 DailyAverage(
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);
50 void resample(
const std::string& stationHash,
const size_t& index,
const ResamplingPosition& position,
const size_t& paramindex,
51 const std::vector<MeteoData>& vecM,
MeteoData& md);
54 double getValue(
const std::vector<MeteoData>& vecM,
const size_t& paramindex,
const size_t& index,
const Date& dayStart,
const double& frac_day)
const;
Generate daily variations around a single daily average.
Definition: DailyAverageResampling.h:46
DailyAverage(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)
Definition: DailyAverageResampling.cc:29
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: DailyAverageResampling.cc:89
std::string toString() const
Definition: DailyAverageResampling.cc:44
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