MeteoIODoc 20250905.f67af007
 
Loading...
Searching...
No Matches
GridLinearResampling.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2/***********************************************************************************/
3/* Copyright 2021 MobyGIS Srl, Trento, Italy */
4/***********************************************************************************/
5/* This file is part of MeteoIO.
6 MeteoIO is free software: you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 MeteoIO is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with MeteoIO. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef GRIDLINEARRESAMPLING_H
21#define GRIDLINEARRESAMPLING_H
22
24
25namespace mio {
26
40 public:
41 GridLinearResampling(const std::string& algoname, const std::string& i_parname, const double& dflt_max_gap_size,
42 const std::vector< std::pair<std::string, std::string> >& vecArgs);
43
44 void resample(const Date& date, const std::map<Date, Grid2DObject>& all_grids, Grid2DObject& resampled_grid) override;
45 std::string toString() const override;
46};
47
48} //end namespace mio
49
50#endif
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
Point-wise linear interpolation between grids.
Definition GridLinearResampling.h:39
void resample(const Date &date, const std::map< Date, Grid2DObject > &all_grids, Grid2DObject &resampled_grid) override
Perform temporal grid resampling.
Definition GridLinearResampling.cc:62
std::string toString() const override
Print this algorithm's properties to a stream.
Definition GridLinearResampling.cc:45
Interface class for grid resampling algorithms.
Definition GridResamplingAlgorithms.h:38
Definition Config.cc:34