MeteoIODoc 2.11.0
mio::LapseOrdinaryKrigingAlgorithm Class Reference

Detailed Description

Ordinary kriging with detrending.

This is very similar to OrdinaryKrigingAlgorithm but performs detrending on the data and therefore also accepts the lapse rate definition arguments as parsed by Trend::Trend().

TA::algorithms = ODKRIG_LAPSE
TA::odkrig::vario = SPHERICVARIO linvario
TA::odkrig::soft = true
TA::odkrig::rate = -0.008

#include <ODKrigLapseAlgorithm.h>

Public Member Functions

 LapseOrdinaryKrigingAlgorithm (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_param, TimeSeriesManager &i_tsm)
 
virtual void calculate (const DEMObject &dem, Grid2DObject &grid)
 
- Public Member Functions inherited from mio::OrdinaryKrigingAlgorithm
 OrdinaryKrigingAlgorithm (const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &i_algo, const std::string &i_param, TimeSeriesManager &i_tsm)
 
virtual double getQualityRating (const Date &i_date)
 
virtual void calculate (const DEMObject &dem, Grid2DObject &grid)
 
- Public Member Functions inherited from mio::InterpolationAlgorithm
 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...
 

Additional Inherited Members

- Public Attributes inherited from mio::InterpolationAlgorithm
const std::string algo
 
- Protected Member Functions inherited from mio::OrdinaryKrigingAlgorithm
std::vector< std::vector< double > > getTimeSeries (const bool &detrend_data) const
 
void getDataForEmpiricalVariogram (std::vector< double > &distData, std::vector< double > &variData) const
 
void getDataForVariogram (std::vector< double > &distData, std::vector< double > &variData, const bool &detrend_data=false) const
 
bool computeVariogram (const bool &detrend_data=false)
 
- Protected Member Functions inherited from mio::InterpolationAlgorithm
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 inherited from mio::OrdinaryKrigingAlgorithm
Fit1D variogram
 
std::vector< std::string > vario_types
 
- Protected Attributes inherited from mio::InterpolationAlgorithm
TimeSeriesManagertsmanager
 
Date date
 
std::vector< MeteoDatavecMeteo
 
std::vector< double > vecData
 store the measurement for the given parameter More...
 
std::vector< StationDatavecMeta
 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...
 

Constructor & Destructor Documentation

◆ LapseOrdinaryKrigingAlgorithm()

mio::LapseOrdinaryKrigingAlgorithm::LapseOrdinaryKrigingAlgorithm ( const std::vector< std::pair< std::string, std::string > > &  vecArgs,
const std::string &  i_algo,
const std::string &  i_param,
TimeSeriesManager i_tsm 
)

Member Function Documentation

◆ calculate()

void mio::LapseOrdinaryKrigingAlgorithm::calculate ( const DEMObject dem,
Grid2DObject grid 
)
virtual

Reimplemented from mio::OrdinaryKrigingAlgorithm.


The documentation for this class was generated from the following files: