MeteoIODoc 20240915.22c27467
ProcRadProj.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2/***********************************************************************************/
3/* Copyright 2024 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 RADPROJ_H
20#define RADPROJ_H
21
23
24#include <vector>
25#include <string>
26
27namespace mio {
28
57class RadProj : public ProcessingBlock {
58 public:
59 RadProj(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
64 private:
65 void parse_args(const std::vector< std::pair<std::string, std::string> >& vecArgs);
66 double src_azi, dest_azi, src_angle, dest_angle;
67};
68
69} //end namespace
70
71#endif
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
The base class for all filters that provides the interface and a few helper methods.
Definition: ProcessingBlock.h:67
Project incoming short wave radiation from any slope (angle and azimuth) to any other slope.
Definition: ProcRadProj.h:57
virtual void process(const unsigned int &param, const std::vector< MeteoData > &ivec, std::vector< MeteoData > &ovec)
Definition: ProcRadProj.cc:38
RadProj(const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &name, const Config &cfg)
Definition: ProcRadProj.cc:31
Definition: Config.cc:31