19#ifndef SOLARRESAMPLING_H
20#define SOLARRESAMPLING_H
53 Solar(
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);
55 void resample(
const std::string& stationHash,
const size_t& index,
const ResamplingPosition& position,
const size_t& paramindex,
56 const std::vector<MeteoData>& vecM,
MeteoData& md);
59 typedef struct POINTS {
61 double jul1, loss1, jul2, loss2;
64 static double getPotentialH(
const MeteoData& md);
65 bool computeLossFactor(
const std::string& stationHash,
const size_t& index,
const size_t& paramindex,
66 const std::vector<MeteoData>& vecM,
const Date& resampling_date, Points &pts);
67 static double interpolateLossFactor(
const double& resampling_jul,
const Points &pts);
69 std::map< std::string, Points > cache_losses;
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
Interpolate solar radiation.
Definition: SolarResampling.h:51
Solar(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: SolarResampling.cc:30
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: SolarResampling.cc:126
std::string toString() const
Definition: SolarResampling.cc:50
const double nodata
This is the internal nodata value.
Definition: IOUtils.h:75