WSL/SLF GitLab Repository

Commit 8f2f056d authored by Mathias Bavay's avatar Mathias Bavay
Browse files

TechSnow modules from Alpine3D and Snowpack

parent c97bed3e
......@@ -134,6 +134,7 @@ https://models.slf.ch/p/alpine3d
<include file="alpine3d_ebalance.xml"/>
<!-- TECHSNOW -->
<include file="snowpack_techsnow.xml"/>
<include file="alpine3d_techsnow.xml"/>
<!-- FILTERS -->
......
<!--
/*****************************************************************************/
/* Copyright 2019 WSL Institute for Snow and Avalanche Research SLF-DAVOS */
/* Copyright 2020 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
......@@ -19,19 +19,14 @@ along with INIshell. If not, see <http://www.gnu.org/licenses/>.
-->
<!--
This is an INIshell configuration file for the software SNOWPACK.
https://models.slf.ch/p/snowpack
This is an INIshell configuration file for the software ALPINE3D.
https://models.slf.ch/p/alpine3d
-->
<inishell_include>
<!-- Alternative panel: TechSnow -->
<parameter type="helptext" wrap="true" section="TechSnow">
<help>This module simulates technical snow production. Slopes are tagged in a provided 2D grid (same geolocalization as the DEM) where each pixel either has its slope number or nodata. Then three different snow production priorities are available and can be attributed to the individual ski slopes (see the &lt;a href="https://models.slf.ch/docserver/alpine3d/html/techsnow.html"&gt;online documentation&lt;/a&gt;)</help>
</parameter>
<parameter type="spacer" height="60" section="TechSnow"/>
<parameter key="SNOW_PREPARATION" type="alternative" default="FALSE" section="TechSnow">
<parameter key="SNOW_PRODUCTION" type="alternative" default="FALSE" section="TechSnow">
<option value="TRUE">
<reference name="TECH_SNOW_GENERAL"/>
<parameter key="PRIO#" type="grid" replicate="true">
......@@ -41,13 +36,10 @@ https://models.slf.ch/p/snowpack
</parameter>
</option>
<option value="FALSE"/>
<help>Should the technical snow module be enabled?</help>
<help>This module simulates technical snow production. Slopes are tagged in a provided 2D grid (same geolocalization as the DEM) where each pixel either has its slope number or nodata. Then three different snow production priorities are available and can be attributed to the individual ski slopes (see the &lt;a href="https://models.slf.ch/docserver/alpine3d/html/techsnow.html"&gt;online documentation&lt;/a&gt;)</help>
</parameter>
<parametergroup name="TECH_SNOW_GENERAL">
<parameter key="GROOMING_DEPTH_START" type="number" format="decimal" unit="m" min="0" precision="2" default="0.5" optional="false">
<help>minimum depth of snow to allow for grooming (m)</help>
</parameter>
<parameter key="SKIRUNS_FILE" type="file" mode="input" optional="false">
<help>the grid where all the pixels are tagged either with their slope number or nodata (relying on the Input::GRID2D plugin)</help>
</parameter>
......@@ -63,10 +55,10 @@ https://models.slf.ch/p/snowpack
<parameter key="SEASON_CLOSING" type="text" optional="false">
<help>Ski resort closing dates of the skiing season</help>
</parameter>
<parameter key="SLOPE_OPEN" type="text" default="08" optional="false">
<parameter key="SLOPE_OPEN" type="number" format="integer+" max="24" default="8" optional="false">
<help>at what local time do the slopes open to the public?</help>
</parameter>
<parameter key="SLOPE_CLOSED" type="text" default="16" optional="false">
<parameter key="SLOPE_CLOSED" type="number" format="integer+" max="24" default="16" optional="false">
<help>at what local time do the slopes close to the public?</help>
</parameter>
</parametergroup>
......@@ -79,14 +71,14 @@ https://models.slf.ch/p/snowpack
<parameter key="PRIO#::end_prod" type="text" optional="false">
<help>end of snow season production</help>
</parameter>
<parameter key="PRIO#::start_aim" type="number" format="decimal" precision="1" min="0" default="0.3" unit="m" optional="false">
<parameter key="PRIO#::start_aim" type="number" format="decimal" precision="2" min="0" default="0.30" unit="m" optional="false">
<help>Snow production aim in snow height [m] until ski resort opening (factor x snow_prod_min)</help>
</parameter>
<parameter key="PRIO#::end_aim" type="number" format="decimal" precision="1" min="0" default="1.0" unit="m" optional="false">
<parameter key="PRIO#::end_aim" type="number" format="decimal" precision="2" min="0" default="1.00" unit="m" optional="false">
<help>Snow production aim in snow height [m] until ski resort ending (factor x snow_prod_min)</help>
</parameter>
<parameter key="PRIO#::gun_operation" type="number" format="decimal" precision="2" default="-2.5" unit="" optional="false">
<help>Percentage of snow gun operation</help>
<parameter key="PRIO#::gun_operation" type="number" format="decimal" precision="2" default="1.00" unit="" optional="false">
<help>Fraction of snow gun operation [0-1]</help>
</parameter>
<parameter type="spacer" height="60" section="TechSnow"/>
<!--</frame>-->
......
......@@ -94,6 +94,9 @@ https://models.slf.ch/p/snowpack
<!-- SNOWPACK PARAMETERS -->
<include file="snowpack_params.xml"/>
<!-- SNOWPACK TECHSNOW -->
<include file="snowpack_techsnow.xml"/>
<!-- SNOWPACK ADVANCED -->
<include file="snowpack_advanced.xml"/>
......
<!--
/*****************************************************************************/
/* Copyright 2020 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
it under the terms of the GNU General Public License as published by
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
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with INIshell. If not, see <http://www.gnu.org/licenses/>.
*/
-->
<!--
This is an INIshell configuration file for the software SNOWPACK.
https://models.slf.ch/p/snowpack
-->
<inishell_include>
<!-- Alternative panel: TechSnow -->
<parameter key="SNOW_GROOMING" type="alternative" default="FALSE" section="TechSnow">
<option value="TRUE">
<reference name="GROOMING"/>
</option>
<option value="FALSE"/>
<help>Should the snow grooming module be enabled?</help>
</parameter>
<parametergroup name="GROOMING">
<frame caption="Grooming">
<parameter key="GROOMING_DEPTH_START" type="number" format="decimal" unit="m" min="0" precision="2" default="0.40" optional="false">
<help>minimum depth of snow to allow for grooming (m)</help>
</parameter>
<parameter key="GROOMING_DEPTH_IMPACT" type="number" format="decimal" unit="m" min="0" precision="2" default="0.40" optional="false">
<help></help>
</parameter>
<parameter key="GROOMING_WEEK_START" type="number" format="integer+" max="53" default="40" optional="false">
<help>ISO week of the year when to start slopes grooming</help>
</parameter>
<parameter key="GROOMING_WEEK_END" type="number" format="integer+" max="53" default="17" optional="false">
<help>ISO week of the year when to stop slopes grooming</help>
</parameter>
<parameter key="GROOMING_HOUR" type="number" format="integer+" max="24" default="21" optional="false">
<help>hour when grooming is performed</help>
</parameter>
</frame>
</parametergroup>
</inishell_include>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment