20#ifndef METEO2DINTERPOLATOR_H
21#define METEO2DINTERPOLATOR_H
38class InterpolationAlgorithm;
129 std::vector<Coords> vec_coords, std::vector<double>& result,
const bool& quiet=
false);
132 std::vector<StationData> vec_stations, std::vector<double>& result,
const bool& quiet=
false);
142 const std::string& algorithm,
const std::string& section)
const;
147 static void checkMinMax(
const double& minval,
const double& maxval,
Grid2DObject& gridobj);
148 static void check_projections(
const DEMObject& dem,
const std::vector<MeteoData>& vec_meteo);
149 static std::set<std::string> getParameters(
const Config& i_cfg);
150 static std::vector<std::string> getAlgorithmsForParameter(
const Config& i_cfg,
const std::string& parname);
152 void setAlgorithms();
159 std::map< std::string, std::vector<InterpolationAlgorithm*> > mapAlgorithms;
161 bool algorithms_ready;
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition Config.h:79
A class to represent DEMs and automatically compute some properties. This class stores elevation grid...
Definition DEMObject.h:40
A class to handle timestamps. This class handles conversion between different time display formats (I...
Definition Date.h:87
A class to represent 2D Grids. Typical application as DEM or Landuse Model.
Definition Grid2DObject.h:42
A class to buffer gridded data. This class buffers Grid2D objects. It implements a proper ring buffer...
Definition Buffer.h:157
Definition GridsManager.h:36
A class to spatially interpolate meteo parameters. For more, see Spatial interpolations.
Definition Meteo2DInterpolator.h:100
const std::string toString() const
Definition Meteo2DInterpolator.cc:335
~Meteo2DInterpolator()
Definition Meteo2DInterpolator.cc:59
std::vector< std::pair< std::string, std::string > > getArgumentsForAlgorithm(const std::string &parname, const std::string &algorithm, const std::string §ion) const
Retrieve the arguments vector for a given interpolation algorithm.
Definition Meteo2DInterpolator.cc:136
Meteo2DInterpolator & operator=(const Meteo2DInterpolator &)
Assignement operator.
Definition Meteo2DInterpolator.cc:46
std::string interpolate(const Date &date, const DEMObject &dem, const MeteoData::Parameters &meteoparam, Grid2DObject &result, const bool &quiet=false)
A generic function that can interpolate for any given MeteoData member variable.
Definition Meteo2DInterpolator.cc:153
Parameters
this enum provides indexed access to meteorological fields
Definition MeteoData.h:145
Definition TimeSeriesManager.h:36