MeteoIODoc 20241102.51576d50
FilterNoChange.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2/***********************************************************************************/
3/* Copyright 2015 WSL Institute for Snow and Avalanche Research SLF-DAVOS */
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#ifndef FILTERNOCHANGE_H
20#define FILTERNOCHANGE_H
21
23
24#include <vector>
25#include <string>
26
27namespace mio {
28
58 public:
59 FilterNoChange(const std::vector< std::pair<std::string, std::string> >& vecArgs, const std::string& name, const Config& cfg);
60
61 virtual void process(const unsigned int& param, const std::vector<MeteoData>& ivec,
62 std::vector<MeteoData>& ovec);
63 private:
64 void parse_args(const std::vector< std::pair<std::string, std::string> >& vecArgs);
65 double max_variance;
66};
67
68} //end namespace
69
70#endif
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
This filter removes periods showing insufficient changes.
Definition: FilterNoChange.h:57
virtual void process(const unsigned int &param, const std::vector< MeteoData > &ivec, std::vector< MeteoData > &ovec)
Definition: FilterNoChange.cc:38
FilterNoChange(const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &name, const Config &cfg)
Definition: FilterNoChange.cc:26
Definition: WindowedFilter.h:35
Definition: Config.cc:31