A class to perform 2D spatial interpolations. For more, see Spatial interpolations.
#include <InterpolationAlgorithms.h>
Public Member Functions | |
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... | |
Public Attributes | |
const std::string | algo |
Protected Member Functions | |
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) |
Protected Attributes | |
TimeSeriesManager & | tsmanager |
Date | date |
std::vector< MeteoData > | vecMeteo |
std::vector< double > | vecData |
store the measurement for the given parameter More... | |
std::vector< StationData > | vecMeta |
store the station data for the given parameter More... | |
std::ostringstream | info |
to store some extra information about the interplation process More... | |
const std::string | param |
the parameter that we will interpolate More... | |
size_t | nrOfMeasurments |
Number of stations that have been used, so this can be reported to the user. More... | |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in mio::ALS_Interpolation, mio::AvgAlgorithm, mio::AvgLapseRateAlgorithm, mio::ConstAlgorithm, mio::IDWAlgorithm, mio::IDWLapseAlgorithm, mio::LocalIDWLapseAlgorithm, mio::IDWSlopesAlgorithm, mio::ILWREpsAlgorithm, mio::ListonWindAlgorithm, mio::NearestNeighbourAlgorithm, mio::NoneAlgorithm, mio::OrdinaryKrigingAlgorithm, mio::LapseOrdinaryKrigingAlgorithm, mio::PPHASEInterpolation, mio::RHListonAlgorithm, mio::RyanAlgorithm, mio::SnowlineAlgorithm, mio::SnowPSUMInterpolation, mio::StandardPressureAlgorithm, mio::SWRadInterpolation, mio::USERInterpolation, mio::WinstralAlgorithm, and mio::WinstralListonAlgorithm.
|
protected |
|
protected |
std::string mio::InterpolationAlgorithm::getInfo | ( | ) | const |
Return an information string about the interpolation process.
|
pure virtual |
Implemented in mio::ALS_Interpolation, mio::AvgAlgorithm, mio::AvgLapseRateAlgorithm, mio::ConstAlgorithm, mio::IDWAlgorithm, mio::IDWLapseAlgorithm, mio::LocalIDWLapseAlgorithm, mio::IDWSlopesAlgorithm, mio::ILWREpsAlgorithm, mio::ListonWindAlgorithm, mio::NearestNeighbourAlgorithm, mio::NoneAlgorithm, mio::OrdinaryKrigingAlgorithm, mio::PPHASEInterpolation, mio::RHListonAlgorithm, mio::RyanAlgorithm, mio::SnowlineAlgorithm, mio::SnowPSUMInterpolation, mio::StandardPressureAlgorithm, mio::SWRadInterpolation, mio::USERInterpolation, mio::WinstralAlgorithm, and mio::WinstralListonAlgorithm.
const std::string mio::InterpolationAlgorithm::algo |
|
protected |
|
protected |
to store some extra information about the interplation process
|
protected |
Number of stations that have been used, so this can be reported to the user.
|
protected |
the parameter that we will interpolate
|
protected |
|
protected |
store the measurement for the given parameter
|
protected |
store the station data for the given parameter
|
protected |