Inverse Distance Weighting interpolation algorithm with elevation detrending/reprojection.
The input data is detrended and the residuals are spatially interpolated using an Inverse Distance Weighting interpolation algorithm (see IDWAlgorithm). Then, each value is reprojected to the real elevation of the relative cell (re-trending).
The lapse rate definition arguments as parsed by Trend::Trend() are supported as well as the following arguments:
- SCALE: this is a scaling parameter to smooth the IDW distribution. In effect, this is added to the distance in order to move into the tail of the 1/d distribution (default: 1000m);
- ALPHA: this is an exponent to the 1/d distribution (default: 1);
TA::algorithms = IDW_LAPSE
TA::idw_lapse::soft = true
TA::idw_lapse::rate = -0.008
|
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.
|
|