A class to spatially interpolate meteo parameters. For more, see Spatial interpolations.
- Author
- Mathias Bavay and Thomas Egger
- Date
- 2010-01-14
#include <Meteo2DInterpolator.h>
|
| Meteo2DInterpolator (const Config &i_cfg, TimeSeriesManager &i_tsmanager, GridsManager &i_gridsmanager) |
| Constructor. More...
|
|
| Meteo2DInterpolator (const Meteo2DInterpolator &) |
|
Meteo2DInterpolator & | operator= (const Meteo2DInterpolator &) |
| Assignement operator. More...
|
|
| ~Meteo2DInterpolator () |
|
void | interpolate (const Date &date, const DEMObject &dem, const MeteoData::Parameters &meteoparam, Grid2DObject &result) |
| A generic function that can interpolate for any given MeteoData member variable. More...
|
|
void | interpolate (const Date &date, const DEMObject &dem, const MeteoData::Parameters &meteoparam, Grid2DObject &result, std::string &InfoString) |
| A generic function that can interpolate for any given MeteoData member variable. More...
|
|
void | interpolate (const Date &date, const DEMObject &dem, const MeteoData::Parameters &meteoparam, const std::vector< Coords > &in_coords, std::vector< double > &result, std::string &info_string) |
|
size_t | getArgumentsForAlgorithm (const std::string ¶m, const std::string &algorithm, std::vector< std::string > &vecArgs) const |
| Retrieve the arguments vector for a given interpolation algorithm. More...
|
|
size_t | getVirtualStationsMeta (const Date &date, STATIONS_SET &vecStation) |
| Returns the metadata associated with the configured virtual stations. More...
|
|
size_t | getVirtualMeteoData (const vstations_policy &strategy, const Date &i_date, METEO_SET &vecMeteo) |
| Compute point measurements from grids following a given computing strategy. More...
|
|
const std::string | toString () const |
|
Keywords for virtual stations strategy.
Enumerator |
---|
VSTATIONS |
extract virtual stations as specified in the ini file
|
DOWNSCALING |
extract all grid points from a provided grid
|
SMART_DOWNSCALING |
extract all relevant grid points from a provided grid
|
Constructor.
< compute the meteo values at virtual stations
< Are we downscaling meteo grids instead of interpolating stations' data?
mio::Meteo2DInterpolator::~Meteo2DInterpolator |
( |
| ) |
|
size_t mio::Meteo2DInterpolator::getArgumentsForAlgorithm |
( |
const std::string & |
param, |
|
|
const std::string & |
algorithm, |
|
|
std::vector< std::string > & |
vecArgs |
|
) |
| const |
Retrieve the arguments vector for a given interpolation algorithm.
- Parameters
-
param | the meteorological parameter that is concerned |
algorithm | the desired algorithm |
vecArgs | a vector of strings containing the arguments |
Compute point measurements from grids following a given computing strategy.
- Parameters
-
strategy | sampling/computing strategy |
i_date | when to compute the virtual stations |
vecMeteo | a vector of meteodata for the configured virtual stations |
size_t mio::Meteo2DInterpolator::getVirtualStationsMeta |
( |
const Date & |
date, |
|
|
STATIONS_SET & |
vecStation |
|
) |
| |
Returns the metadata associated with the configured virtual stations.
- Parameters
-
date | when to extract the virtual stations' metadata |
vecStation | a vector of stationdata for the configured virtual stations |
A generic function that can interpolate for any given MeteoData member variable.
- Parameters
-
A generic function that can interpolate for any given MeteoData member variable.
- Parameters
-
date | date for which to interpolate |
dem | Digital Elevation Model on which to perform the interpolation |
meteoparam | Any MeteoData member variable as specified in the enum MeteoData::Parameters (e.g. MeteoData::TA) |
result | A Grid2DObject that will be filled with the interpolated data |
InfoString | some information about the interpolation process (useful for GUIs) |
void mio::Meteo2DInterpolator::interpolate |
( |
const Date & |
date, |
|
|
const DEMObject & |
dem, |
|
|
const MeteoData::Parameters & |
meteoparam, |
|
|
const std::vector< Coords > & |
in_coords, |
|
|
std::vector< double > & |
result, |
|
|
std::string & |
info_string |
|
) |
| |
const std::string mio::Meteo2DInterpolator::toString |
( |
| ) |
const |
The documentation for this class was generated from the following files: