20#ifndef GRID1DINTERPOLATOR_H
21#define GRID1DINTERPOLATOR_H
50 std::string getGridAlgorithmForParameter(
const std::string& parname)
const;
52 static const std::string section_name;
53 std::map<std::string, GridResamplingAlgorithm*> algorithm_map;
55 double grid_window_size = 86400.;
56 bool enable_grid_resampling =
true;
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 handle timestamps. This class handles conversion between different time display formats (I...
Definition: Date.h:87
A class to temporally resample grid objects.
Definition: Grid1DInterpolator.h:40
Grid1DInterpolator(const Grid1DInterpolator &org)=default
double getWindowSize() const
Definition: Grid1DInterpolator.h:47
Grid1DInterpolator & operator=(const Grid1DInterpolator &)
Grid1DInterpolator(const Config &in_cfg)
Constructor for a grid interpolator.
Definition: Grid1DInterpolator.cc:37
~Grid1DInterpolator()
Destructor for a Grid1DInterpolator instance.
Definition: Grid1DInterpolator.cc:73
bool resampleData(const Date &date, const MeteoGrids::Parameters ¶meter, const std::map< Date, Grid2DObject > &available_grids, Grid2DObject &resampled_grid)
Wrapper function to call the desired grid resampling algorithm.
Definition: Grid1DInterpolator.cc:91
A class to represent 2D Grids. Typical application as DEM or Landuse Model.
Definition: Grid2DObject.h:42
Parameters
this enum provides names for possible meteogrids (from an ARPS file, etc)
Definition: MeteoData.h:46