Average filling with elevation lapse rate interpolation algorithm.
The grid is filled with the average of the detrended measured values and then re-trended. Or to put it differently, the following operations are performed: detrending - averaging - re-trending. The lapse rate definition arguments as parsed by Trend::Trend() are supported.
PSUM::algorithms = AVG_LAPSE
PSUM::avg_lapse::soft = true
PSUM::avg_lapse::frac = true
PSUM::avg_lapse::rate = 0.05
|
| const std::string | algo |
| |
| std::vector< double > | getData (const Date &i_date, const std::string &i_param) |
| |
| size_t | getData (const Date &i_date, const std::string &i_param, std::vector< double > &o_vecData, std::vector< StationData > &o_vecMeta) |
| |
| TimeSeriesManager & | tsmanager |
| |
| Date | date |
| |
| std::vector< MeteoData > | vecMeteo |
| |
| std::vector< double > | vecData |
| | store the measurement for the given parameter
|
| |
| std::vector< StationData > | vecMeta |
| | store the station data for the given parameter
|
| |
| std::ostringstream | info |
| | to store some extra information about the interplation process
|
| |
| const std::string | param |
| | the parameter that we will interpolate
|
| |
| size_t | nrOfMeasurments |
| | Number of stations that have been used, so this can be reported to the user.
|
| |