WSL/SLF GitLab Repository

workflow_snowpack.xml 2.25 KB
Newer Older
Michael Reisecker's avatar
Michael Reisecker committed
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
Michael Reisecker's avatar
Michael Reisecker committed
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.
Michael Reisecker's avatar
Michael Reisecker committed
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/>.
Michael Reisecker's avatar
Michael Reisecker committed
18
19
20
21
22
23
24
*/
-->

<!--
This is the workflow panel that SNOWPACK builds
-->

25
26
27
<inishell_include>
	<workflow>
		<section caption="SNOWPACK">
28
			<element type="label" caption="&lt;b&gt;Run experiment"/>
29
			<element type="label" caption="Start date:"/>
30
			<element id="start_date" type="datetime"/>
31
32
			<element type="label" caption="End date:"/>
			<element id="end_date" type="datetime"/>
33
34
			<!--<element type="label" caption="INI file:"/>
			<element id="ini" type="text" default="${inifile}"/>-->
35
			<element caption="Run SNOWPACK" type="button">
36
				<command>setpath(%smetpath, ${key:OUTPUT::METEOPATH})</command>
37
				<command>snowpack -c ${inifile} -b %start_date -e %end_date</command>
38
			</element>
39
			<element type="label" caption="&lt;br&gt;&lt;b&gt;Visualize results&lt;/b&gt;"/>
Michael Reisecker's avatar
Michael Reisecker committed
40
			<element type="label" caption="Open niViz in Browser to import and visualize snowpack output files (.pro, .smet):"/>
41
			<element id="visualize" caption="Open niViz" type="button">
42
				<command>setpath(%smetpath, ${key:OUTPUT::METEOPATH})</command>
43
				<command>openurl(https://run.niviz.org)</command>
44
			</element>
45
			<element type="label" caption="Then drag your desired output file into niViz from below:"/>
46
			<element type="path" id="smetpath"/>
Mathias Bavay's avatar
Mathias Bavay committed
47
			<element type="label" caption="&lt;i&gt;.smet&lt;/i&gt; files for 1D timeseries, &lt;i&gt;.pro&lt;/i&gt; files for simulated snow profiles"/>
48
		</section>
49
	</workflow>
50
</inishell_include>