Relative humidity interpolation algorithm.
This is an implementation of the method described in (Liston & Elder, 2006): for each input point, the dew point temperature is calculated. Then, the dew point temperatures are spatially interpolated using IDWLapseAlgorithm (if only one station is available, no altitudinal trends will be applied). Finally, each local dew point temperature is converted back to a local relative humidity. As a side effect, the user must have defined algorithms to be used for air temperature (since this is needed for dew point to RH conversion). It takes 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);
- all the trend-controlling arguments supported by Trend::Trend().
RH::algorithms = LISTON_RH
|
| RHListonAlgorithm (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_param, TimeSeriesManager &i_tsm, Meteo2DInterpolator &i_mi) |
|
virtual double | getQualityRating (const Date &i_date) |
|
virtual void | calculate (const DEMObject &dem, Grid2DObject &grid) |
|
| InterpolationAlgorithm (const std::vector< std::pair< std::string, std::string > > &, const std::string &i_algo, const std::string &i_param, TimeSeriesManager &i_tsm) |
|
virtual | ~InterpolationAlgorithm () |
|
virtual double | getQualityRating (const Date &i_date)=0 |
|
virtual void | calculate (const DEMObject &dem, Grid2DObject &grid)=0 |
|
std::string | getInfo () const |
| Return an information string about the interpolation process. More...
|
|