WSL/SLF GitLab Repository

snowpack.xml 6.15 KB
Newer Older
1
2
3
4
5
6
<!--
/*****************************************************************************/
/*  Copyright 2019 WSL Institute for Snow and Avalanche Research  SLF-DAVOS  */
/*****************************************************************************/
/* This file is part of INIshell.
INIshell is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
9
10
11
12
13
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

INIshell is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
GNU General Public License for more details.
15

16
17
You should have received a copy of the GNU General Public License
along with INIshell.  If not, see <http://www.gnu.org/licenses/>.
18
19
20
21
22
23
24
25
26
*/
-->

<!--
This is an INIshell configuration file for the software SNOWPACK.
https://models.slf.ch/p/snowpack
-->

<inishell_config application="SNOWPACK" icon="snowpack.png">
27
	<include file="meteoio_parametergroups.xml"/>
28

29
	<!-- GENERAL -->
30
	<include file="meteoio_general.xml"/>
31
	<parameter type="spacer" height="40"/>
32
33
	<parameter type="label" label="&lt;h3&gt;Application information&lt;/h3&gt;" color="sl_blue"/>
	<reference name="INFO_METEOIO"/>
Michael Reisecker's avatar
Michael Reisecker committed
34
	<reference name="INFO_SNOWPACK"/>
Michael Reisecker's avatar
Michael Reisecker committed
35
	<parametergroup name="INFO_SNOWPACK">
36
		<frame caption="SNOWPACK" color="sl_blue">
Michael Reisecker's avatar
Michael Reisecker committed
37
38
39
40
41
42
			<section name="General"/>
			<parameter type="helptext" wrap="true">
				<help>&lt;i&gt;SNOWPACK&lt;/i&gt; is a multi-purpose snow and land-surface model, which focuses on a detailed description of the mass and energy exchange between the snow, the atmosphere and optionally with the vegetation cover and the soil. It also includes a detailed treatment of mass and energy fluxes within these media. See the &lt;a href=&quot;https://models.slf.ch/p/snowpack&quot;&gt;SNOWPACK project page&lt;/a&gt; and &lt;a href=&quot;https://models.slf.ch/docserver/snowpack/html/index.html&quot;&gt;online help&lt;/a&gt;.</help>
			</parameter>
		</frame>
	</parametergroup>
43
	<include file="workflow_snowpack.xml"/>
44

45
46
47
48
49
50
51
52
53
54
	<include file="meteoio_timeseries_input.xml"/>
	<include file="meteoio_timeseries_output.xml"/>
	<frame caption="Coordinate system and time zone">
		<section name="Input"/>
		<section name="Output"/>
		<parameter key="COORDSYS" type="alternative" optional="false">
			<reference name="COORDSYSTEMS"/>
			<help>Choose the coordinate system of your data's location format.</help>
		</parameter>
		<!-- when giving a precision the default value should match (no 'unsaved changes' warning): -->
55
		<parameter key="TIME_ZONE" type="number" format="decimal" sign="true" default="1.00" min="-12" max="14" wrap="true" notoggle="true" optional="false">
56
57
58
59
			<help>The time zone your data is reported with</help>
		</parameter>
	</frame>
	<frame caption="Meteorological data format">
60
		<section name="Input"/>
61
62
63
		<reference name="METEOIO_TS_IN"/> <!-- all METEO input plugins -->
		<help>plugin for METEO data input</help>
	</frame>
64
	<include file="meteoio_raw_editing.xml"/>
65

66
67
	<!-- SPATIAL RESAMPLING -->
	<include file="meteoio_spatial_resampling.xml"/>
68
	<reference name="RESAMPLING_SPATIAL"/>
69
70
71
72
73
74
75
76
77
	<!-- Grids input as required by spatial resampling -->
	<include file="meteoio_grids_input.xml"/>
	<frame caption="2D Grids">
		<section name="Input"/>
		<parameter type="helptext" wrap="true">
			<help>&lt;font color="#ff0000"&gt;&lt;strong&gt;Configuring 2D gridded data is only required if you also use spatial resampling with gridded data extraction (configured in the [Input] section)&lt;/strong&gt;&lt;/font&gt;</help>
		</parameter>
		<reference name="GRID2D_IN"/>
	</frame>
78

79
	<frame caption="Meteorological data format">
80
		<section name="Output"/>
81
82
83
		<reference name="METEOIO_TS_OUT"/> <!-- all METEO output plugins -->
		<help>plugin for METEO data output</help>
	</frame>
Michael Reisecker's avatar
Michael Reisecker committed
84

85
	<!-- EXTRA INPUT PARAMETERS -->
86
	<include file="snowpack_extra_input.xml"/>
87
88
89
90
	<frame caption="Initial Snow Profiles">
		<section name="Input"/>
		<reference name="SN_EXTRA_INPUT_ALL"/>
	</frame>
91
92

	<!-- EXTRA OUTPUT PARAMETERS -->
93
	<include file="snowpack_output.xml"/>
94
95

	<!-- SNOWPACK PARAMETERS -->
96
	<include file="snowpack_params.xml"/>
Michael Reisecker's avatar
Michael Reisecker committed
97

98
99
	<!-- SNOWPACK TECHSNOW -->
	<include file="snowpack_techsnow.xml"/>
100
101

	<!-- SNOWPACK ADVANCED -->
102
	<include file="snowpack_advanced.xml"/>
103

104
105
106
107
108
	<!-- FILTERS -->
	<include file="meteoio_filters.xml"/>
	<frame caption="Filters">
		<section name="Filters"/>
		<reference name="FILTERS"/>
109
	</frame>
110
	<parameter type="spacer" height="50" section="Filters"/>
111
	<frame caption="Time filters">
112
		<section name="Filters"/>
113
		<reference name="TIMEFILTERS"/>
114
115
	</frame>

116
117
118
119
120
	<!-- GENERATORS -->
	<include file="meteoio_generators.xml"/>
	<frame caption="Data generators">
		<section name="Generators"/>
		<reference name="GENERATORS"/>
121
	</frame>
122
123

	<!-- RESAMPLING -->
124
	<include file="meteoio_1dInterpolations.xml"/>
125
126
127
128
	<frame caption="Temporal 1D-resampling">
		<section name="Interpolations1D"/>
		<parameter key="ENABLE_RESAMPLING" label="ENABLE_RESAMPLING" caption="Interpolate data to have it available for exact requested dates" type="checkbox" default="TRUE">
			<help>Should the data be resampled to the timesteps requested from outside (it is very strongly suggested to keep it set to TRUE if running &lt;i&gt;SNOWPACK&lt;/i&gt;)</help>
129
		</parameter>
130
131
132
		<parameter key="WINDOW_SIZE" type="number" format="integer+" min="1" default="43200" unit="s">
			<section name="Interpolations1D"/>
			<help>Default width of the biggest data gap that can be filled by temporal interpolation (in seconds: 1/2 day= 43200, 1 day=86400, 1 week=604800)</help>
133
		</parameter>
134
		<reference name="1D_INTERPOLATIONS"/>
135
	</frame>
136

137
138
	<!-- 2DInterpolations as required by virtual stations -->
	<include file="meteoio_2dInterpolations.xml"/>
139
140
	<frame caption="Spatial 2D-resampling">
		<section name="Interpolations2D"/>
141
142
143
		<parameter type="helptext" wrap="true">
			<help>&lt;font color="#ff0000"&gt;&lt;strong&gt;Configuring 2D interpolations is only required if you also use spatial resampling with virtual stations (configured in the [Input] section)&lt;/strong&gt;&lt;/font&gt;</help>
		</parameter>
144
		<reference name="2D_INTERPOLATIONS"/>
145
	</frame>
146

147
</inishell_config>