18 #ifndef SOLARRESAMPLING_H
19 #define SOLARRESAMPLING_H
45 Solar(
const std::string& i_algoname,
const std::string& i_parname,
const double& dflt_window_size,
const std::vector<std::string>& vecArgs);
48 const std::vector<MeteoData>& vecM,
MeteoData& md);
51 typedef struct POINTS {
53 double jul1, loss1, jul2, loss2;
56 static double getPotentialH(
const MeteoData& md);
57 bool computeLossFactor(
const size_t& index,
const size_t& paramindex,
58 const std::vector<MeteoData>& vecM,
const Date& resampling_date, Points &pts);
59 static double interpolateLossFactor(
const double& resampling_jul,
const Points &pts);
61 std::map< std::string, Points > cache_losses;
std::string toString() const
Definition: SolarResampling.cc:53
Interpolate solar radiation. The available solar radiation data is compared to the potential radiatio...
Definition: SolarResampling.h:43
void resample(const size_t &index, const ResamplingPosition &position, const size_t ¶mindex, const std::vector< MeteoData > &vecM, MeteoData &md)
Definition: SolarResampling.cc:129
const double nodata
This is the internal nodata value.
Definition: IOUtils.h:60
Interface class for the temporal resampling algorithms These models generate data points that are mis...
Definition: ResamplingAlgorithms.h:88
A class to handle timestamps. This class handles conversion between different time display formats (I...
Definition: Date.h:79
ResamplingPosition
Definition: ResamplingAlgorithms.h:91
A class to represent a singular measurement received from one station at a certain time (represented ...
Definition: MeteoData.h:101
Solar(const std::string &i_algoname, const std::string &i_parname, const double &dflt_window_size, const std::vector< std::string > &vecArgs)
Definition: SolarResampling.cc:29