SNOWPACK
20251207.15ac3588
Physically based, energy balance snow cover model
Loading...
Searching...
No Matches
SnowpackConfig.h
Go to the documentation of this file.
1
/*
2
* SNOWPACK stand-alone
3
*
4
* Copyright WSL Institute for Snow and Avalanche Research SLF, DAVOS, SWITZERLAND
5
*/
6
/* This file is part of Snowpack.
7
Snowpack is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
Snowpack is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Snowpack. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef SNOWPACKCONFIG_H
22
#define SNOWPACKCONFIG_H
23
24
#include <meteoio/MeteoIO.h>
25
#include <map>
26
#include <string>
27
28
class
SnowpackConfig
:
public
mio::Config {
29
30
public
:
36
SnowpackConfig
(
const
std::string& i_filename);
37
SnowpackConfig
(
const
mio::Config& i_cfg);
38
39
private
:
40
void
setDefaults();
41
bool
enforce_measured_snow_heights;
42
43
static
const
bool
__init;
44
static
bool
initStaticData();
45
static
std::map<std::string, std::string> snowpackConfig, advancedConfig, inputConfig, outputConfig, TechSnowConfig;
46
};
47
48
#endif
SnowpackConfig
Definition
SnowpackConfig.h:28
snowpack
SnowpackConfig.h
Generated on Sun Dec 7 2025 00:04:33 for SNOWPACK by
1.9.8