WSL/SLF GitLab Repository

Commit 17fa45a8 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Added two new options to CsvIO and marked more integer inputs as "notoggle"

parent 652b0259
......@@ -55,10 +55,10 @@ https://models.slf.ch/p/alpine3d
<parameter key="SEASON_CLOSING" type="text" optional="false">
<help>Ski resort closing dates of the skiing season</help>
</parameter>
<parameter key="SLOPE_OPEN" type="number" format="integer+" max="24" default="8" optional="false">
<parameter key="SLOPE_OPEN" type="number" format="integer+" max="24" default="8" optional="false" notoggle="true">
<help>at what local time do the slopes open to the public?</help>
</parameter>
<parameter key="SLOPE_CLOSED" type="number" format="integer+" max="24" default="16" optional="false">
<parameter key="SLOPE_CLOSED" type="number" format="integer+" max="24" default="16" optional="false" notoggle="true">
<help>at what local time do the slopes close to the public?</help>
</parameter>
</parametergroup>
......
......@@ -179,7 +179,7 @@ INIshell include file for MeteoIO spatial interpolations
<parameter type="helptext" wrap="true">
<help>The closest n stations to each pixel are used to compute the local lapse rate, allowing to project the contributions of these n stations to the local pixel with an inverse distance weight; see &lt;a href=&quot;https://models.slf.ch/docserver/meteoio/html/classmio_1_1LocalIDWLapseAlgorithm.html&quot;&gt;the online documentation&lt;/a&gt; for more</help>
</parameter>
<parameter key="%::LIDW_LAPSE::NEIGHBORS" label="Neighbors" type="number" format="integer+" default="4" optional="false"/>
<parameter key="%::LIDW_LAPSE::NEIGHBORS" label="Neighbors" type="number" format="integer+" default="4" optional="false" notoggle="true"/>
<parameter key="%::LIDW_LAPSE::RATE" label="Rate" type="number" format="decimal" precision="6"><help>Enforced lapse rate or fallback lapse rate (depending on the &lt;i&gt;soft&lt;/i&gt; value)</help></parameter>
<parameter key="%::LIDW_LAPSE::SOFT" caption="Soft" type="checkbox" default="TRUE"><help>If a lapse rate is provided, use it as a fallback if no lapse rate can be extracted from the data</help></parameter>
<parameter key="%::LIDW_LAPSE::FRAC" caption="Frac" type="checkbox"><help>The provided lapse rate is relative (i.e. in %)</help></parameter>
......@@ -295,7 +295,7 @@ INIshell include file for MeteoIO spatial interpolations
<parameter key="%::WINSTRAL::TYPE" label="Type" type="alternative" default="AUTO">
<option value="AUTO"/>
<option value="FIXED">
<parameter key="%::WINSTRAL::DW_SYNOP" label="dw_synop" type="number" min="0" max="360" wrap="true" optional="false" unit="°"><help>Enforce the provided synoptic wind direction</help></parameter>
<parameter key="%::WINSTRAL::DW_SYNOP" label="dw_synop" type="number" min="0" max="360" wrap="true" optional="false" unit="°" notoggle="true"><help>Enforce the provided synoptic wind direction</help></parameter>
</option>
<option value="REF_STATION">
<parameter key="%::WINSTRAL::REF_STATION" label="Ref station" type="text" size="small" optional="false"><help>Get the synoptic wind direction from this station</help></parameter>
......
......@@ -310,10 +310,10 @@ INIshell include file for MeteoIO filters
<parameter key="%::ARG#::SENSITIVITY" label="Sensitivity:" type="number" format="decimal" min="0" default="1.0" precision="2">
<help>Scaling factor applied to the universal threshold, a larger value rejects more spikes</help>
</parameter>
<parameter key="%::ARG#::INTERPOL_DEG" label="Degree of interpolation:" type="number" format="integer+" default="3">
<parameter key="%::ARG#::INTERPOL_DEG" label="Degree of interpolation:" type="number" format="integer+" default="3" notoggle="true">
<help>The parameter interpol_deg sets the degree of the fit for the replacement. 1 is linear, 2 is quadratic, ..., 0 means "off" (removed spikes will be nodata and can be resampled later via [Interpolations1D]). This is useful in rare cases where the cubic fit happens to produce an unwanted peak by itself. Default value is 3 (cubic fit) as proposed in the paper by Goring.</help>
</parameter>
<parameter key="%:ARG#::INTERPOL_PTS" label="Interpolation points:" type="number" format="integer+" default="24">
<parameter key="%:ARG#::INTERPOL_PTS" label="Interpolation points:" type="number" format="integer+" default="24" notoggle="true">
<help>The number of points used for the fitting (replacement) of the spikes can be set via interpol_pts. Default is 24 (as proposed in the paper by Goring).</help>
</parameter>
<reference name="ID_RESTRICT"/>
......@@ -433,7 +433,7 @@ INIshell include file for MeteoIO filters
</parameter>
</option>
<option row="3" column="1">
<parameter key="@::NO_OF_PARTICLES" label="No of particles:" type="number" format="integer+" default="500"/>
<parameter key="@::NO_OF_PARTICLES" label="No of particles:" type="number" format="integer+" default="500" notoggle="true"/>
</option>
</parameter>
</frame>
......@@ -565,7 +565,7 @@ INIshell include file for MeteoIO filters
<option caption="Monthly" value="MONTHLY"/>
</parameter>
<parameter key="%::ARG#::CORRECTIONS" label="Corrections file:" type="file" mode="input" optional="false"/>
<parameter key="%::ARG#::COLUMN" label="Column:" type="number" format="integer+" default="2" min="2">
<parameter key="%::ARG#::COLUMN" label="Column:" type="number" format="integer+" default="2" min="2" notoggle="true">
<help>This adds to the data an hourly/daily/monthly offset as read from a specified file (with absolute or relative path).</help>
</parameter>
</option>
......@@ -598,7 +598,7 @@ INIshell include file for MeteoIO filters
<option caption="Monthly" value="MONTHL>"/>
</parameter>
<parameter key="%::ARG#::CORRECTIONS" label="Corrections file:" type="file" mode="input" optional="false"/>
<parameter key="%::ARG#::COLUMN" label="Column:" type="number" format="integer+" default="2" min="2">
<parameter key="%::ARG#::COLUMN" label="Column:" type="number" format="integer+" default="2" min="2" notoggle="true">
<help>This multiplies the data by an hourly/daily/monthly factor as read from a specified file (with absolute or relative path).</help>
</parameter>
</option>
......@@ -864,7 +864,7 @@ INIshell include file for MeteoIO filters
<o value="right"/>
</parameter>
</option>
<o><parameter key="@::MIN_PTS" type="number" label="No of points:" type="number" format="integer" min="1" default="1"/></o>
<o><parameter key="@::MIN_PTS" type="number" label="No of points:" type="number" format="integer" min="1" default="1" notoggle="true"/></o>
<o><parameter key="@::MIN_SPAN" type="number" label="Duration:" type="number" format="integer+" default="${{30*60}}" unit="s"/></o>
<help>The window position maybe left, center or right. Minimal number of points in data window and minimal time interval spanning the window (seconds) are required.</help>
</parameter>
......
......@@ -97,7 +97,7 @@ INIshell include file for gridded input / output plugin definitions
<option value="FALSE"/>
<help>Optimize for speed (default=false)</help>
</parameter>
<parameter key="PNG_NR_LEVELS" type="number" format="integer+" default="30" maximum="255" minimum="6" sign="true">
<parameter key="PNG_NR_LEVELS" type="number" format="integer+" default="30" maximum="255" minimum="6" sign="true" notoggle="true">
<help>Number of colors in the palette (default=30)</help>
</parameter>
</parametergroup>
......
......@@ -112,7 +112,7 @@ Please include meteoio_parametergroups before use!
<parameter key="METAFILE" type="file" mode="input" optional="false">
<help>Absolute filename of the metadata file</help>
</parameter>
<parameter key="WRAP_MONTH" type="number" format="integer+" min="1" max="12" default="10" optional="false">
<parameter key="WRAP_MONTH" type="number" format="integer+" min="1" max="12" default="10" optional="false" notoggle="true">
<help>month when a new file is started</help>
</parameter>
<parameter key="ALPUG_FIELDS" type="text" default="%,%,ID,timestamp,VW,VW_MAX,DW,TA,RH, RSWR,HS,%,%,%,%,%,TSG,%,%,%,TSS,ISWR,P" size="large" optional="false">
......@@ -296,7 +296,7 @@ Please include meteoio_parametergroups before use!
</option>
<help>How is time represented: a filed combines date and time or these are split into two fields?</help>
</parameter>
<parameter key="CSV_FALLBACK_YEAR" type="number" format="integer+">
<parameter key="CSV_FALLBACK_YEAR" type="number" format="integer+" notoggle="true">
<help>When using components date (ie separate columns for year, month, day), it could be that there is no year column. This parameter provides the (fixed) year to use</help>
</parameter>
<parameter key="CSV_FALLBACK_AUTO_WRAP" type="alternative">
......@@ -313,6 +313,12 @@ Please include meteoio_parametergroups before use!
<parameter key="CSV_ID" type="text">
<help>The station name to use (if provided, has priority over the special headers)</help>
</parameter>
<parameter key="CSV_SLOPE" type="number" format="integer+" min="0" max="90">
<help>The slope angle at the station, in degrees (if providing a slope, also provide an azimuth)</help>
</parameter>
<parameter key="CSV_AZIMUTH" type="number" format="integer+" min="0" max="90">
<help>The slope azimuth at the station, in degrees from North </help>
</parameter>
<parameter key="POSITION" type="text" validate="(latlon|xy)\s*\([-\d\s\.,]+\)">
<help>Coordinates are given as lat/lon/alt or easting/northing/alt such as &lt;code&gt;latlon (46.75, 9.80, 2200)&lt;/code&gt; or &lt;code&gt;xy (198754, 723458, 2200)&lt;/code&gt;</help>
</parameter>
......@@ -413,7 +419,7 @@ Please include meteoio_parametergroups before use!
</option>
<help>How is time represented: a filed combines date and time or these are split into two fields?</help>
</parameter>
<parameter key="CSV#_FALLBACK_YEAR" type="number" format="integer+">
<parameter key="CSV#_FALLBACK_YEAR" type="number" format="integer+" notoggle="true">
<help>When using components date (ie separate columns for year, month, day), it could be that there is no year column. This parameter provides the (fixed) year to use</help>
</parameter>
<parameter key="CSV#_FALLBACK_AUTO_WRAP" type="alternative">
......@@ -429,6 +435,12 @@ Please include meteoio_parametergroups before use!
<parameter key="CSV#_ID" type="text">
<help>The station name to use (if provided, has priority over the special headers)</help>
</parameter>
<parameter key="CSV#_SLOPE" type="number" format="integer+" min="0" max="90">
<help>The slope angle at the station, in degrees (if providing a slope, also provide an azimuth)</help>
</parameter>
<parameter key="CSV#_AZIMUTH" type="number" format="integer+" min="0" max="90">
<help>The slope azimuth at the station, in degrees from North </help>
</parameter>
<parameter key="CSV#_SPECIAL_HEADERS" type="text">
<help>Description of how to extract more metadata out of the headers, such as &lt;code&gt;name:1:3 id:2:5 lat:3:2 lon:3:4 alt:3:6&lt;/code&gt;</help>
</parameter>
......@@ -488,7 +500,7 @@ Please include meteoio_parametergroups before use!
<parameter key="METAFILE" type="file" mode="input" optional="false">
<help>an ini file that contains all the metadata, for each station that has to be read</help>
</parameter>
<parameter key="GOES_NODATA" type="number" format="integer" default="-8190" optional="false">
<parameter key="GOES_NODATA" type="number" format="integer" default="-8190" optional="false" notoggle="true">
<help>value used to represent nodata</help>
</parameter>
<parameter key="GOES_ONLYFROMPAST" type="alternative" default="TRUE">
......@@ -690,10 +702,10 @@ Please include meteoio_parametergroups before use!
<parameter key="METAFILE" type="file" mode="input" optional="false">
<help>filename of the meta data file (in METEOPATH)</help>
</parameter>
<parameter key="NUMBER_MEAS_TEMPERATURES" type="number" format="integer" min="0" default="0" optional="false">
<parameter key="NUMBER_MEAS_TEMPERATURES" type="number" format="integer" min="0" default="0" optional="false" notoggle="true">
<help>Number of measured snow temperatures that are provided</help>
</parameter>
<parameter key="NUMBER_OF_SOLUTES" type="number" format="integer+" default="0" optional="false">
<parameter key="NUMBER_OF_SOLUTES" type="number" format="integer+" default="0" optional="false" notoggle="true">
<help>Number of solutes for which input data are provided</help>
</parameter>
<parameter key="RSWR_INP" type="alternative" optional="FALSE">
......
......@@ -47,7 +47,7 @@ https://models.slf.ch/p/snowpack
<option value="TRUE"/>
<option value="FALSE"/>
</parameter>
<parameter key="NUMBER_FIXED_RATES" type="number" format="integer" default="0" section="SnowpackAdvanced"/>
<parameter key="NUMBER_FIXED_RATES" type="number" format="integer" default="0" section="SnowpackAdvanced" notoggle="true"/>
</frame>
<frame caption="Station Handling" section="SnowpackAdvanced">
......@@ -105,7 +105,7 @@ https://models.slf.ch/p/snowpack
<option value="FALSE"/>
<help>Specifies if redistribution of snow is allowed from windward (luv) to lee slopes. The snow erosion on virtual slopes will contribute to the drifting snow index.</help>
</parameter>
<parameter key="PREVAILING_WIND_DIR" type="number" format="integer+" min="0" max="360" wrap="true" default="0">
<parameter key="PREVAILING_WIND_DIR" type="number" format="integer+" min="0" max="360" wrap="true" default="0" notoggle="true">
<help>Shifts the origin of the wind rose for snow redistribution and slope simulations: e.g. choose 45° to have NE/SE/SW/NW</help>
</parameter>
<parameter key="MEAS_INCOMING_LONGWAVE" type="alternative" default="FALSE">
......
......@@ -35,7 +35,7 @@ https://models.slf.ch/p/snowpack
<parametergroup name="SN_EXTRA_INPUT_PLUGINS">
<parameter key="NUMBER_OF_SOLUTES" type="number" format="integer+">
<parameter key="NUMBER_OF_SOLUTES" type="number" format="integer+" notoggle="true">
<help>&lt;i&gt;SNOWPACK&lt;/i&gt; can transport an arbitrary number of trace components in its snow and water phases [special use, default: 0]</help>
</parameter>
<parameter key="SNOW" type="alternative" default="SMET" optional="false">
......
......@@ -48,7 +48,7 @@ https://models.slf.ch/p/snowpack
<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">
<parameter key="GROOMING_HOUR" type="number" format="integer+" max="24" default="21" optional="false" notoggle="true">
<help>hour when grooming is performed</help>
</parameter>
</frame>
......
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