WSL/SLF GitLab Repository

Commit 88f8d8b4 authored by buergiss's avatar buergiss
Browse files

XSD: removed type attribute from option element

parent 47bc25f6
Pipeline #634 passed with stages
in 3 minutes and 13 seconds
......@@ -89,7 +89,7 @@ INIshell include file for MeteoIO temporal interpolations
</parametergroup>
<parametergroup name="RESAMPLING_SOLAR">
<option caption="Solar" value="SOLAR" type="string">
<option caption="Solar" value="SOLAR">
<parameter key="%::LINEAR::WINDOW_SIZE" label="WINDOW_SIZE" type="number" format="integer" min="1" unit="s"/>
<parameter key="%::LINEAR::EXTRAPOLATE" caption="Extrapolate data" type="checkbox">
<help>If "extrapolate" is added, then data &lt;i&gt;outside&lt;/i&gt; of the original date range can be interpolated. Otherwise, a data point will only be calculated between the original date range.</help>
......
......@@ -636,7 +636,7 @@ INIshell include file for MeteoIO filters
<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>
<option value="Noise" type="string">
<option value="Noise">
<parameter key="%::ARG#::DISTRIBUTION" label="Distribution:" type="alternative" optional="false">
<option value="uniform"/>
<option value="normal"/>
......@@ -829,7 +829,7 @@ INIshell include file for MeteoIO filters
<!-- PROC UNDERCATCH_FORLAND -->
<parametergroup name="PROC_UNDERCATCH_FORLAND">
<option caption="Forland Undercatch Filter" value="UNDERCATCH_FORLAND" type="string" color="#459a4a">
<option caption="Forland Undercatch Filter" value="UNDERCATCH_FORLAND" color="#459a4a">
<parameter key="%::ARG#::TYPE" label="Type:" type="alternative" optional="false">
<option value="Hellmann"/>
<option value="Swedish"/>
......@@ -848,7 +848,7 @@ INIshell include file for MeteoIO filters
<!-- PROC UNDERCATCH_HAMON -->
<parametergroup name="PROC_UNDERCATCH_HAMON">
<option caption="Hamon Undercatch Filter" value="UNDERCATCH_HAMON" type="string" color="#459a4a">
<option caption="Hamon Undercatch Filter" value="UNDERCATCH_HAMON" color="#459a4a">
<parameter key="%::ARG#::TYPE" label="Type:" type="alternative" optional="false">
<option value="Sh"/>
<option value="UnSh"/>
......@@ -921,7 +921,7 @@ INIshell include file for MeteoIO filters
<!-- PROC REDUCE_PRESSURE -->
<parametergroup name="PROC_REDUCE_PRESSURE">
<option caption="Reduce pressure to sea level" value="REDUCE_PRESSURE" type="string" color="#459a4a">
<option caption="Reduce pressure to sea level" value="REDUCE_PRESSURE" color="#459a4a">
<reference name="ID_RESTRICT"/>
<reference name="TIME_RESTRICT"/>
<help>&lt;a href=&quot;https://models.slf.ch/docserver/meteoio/html/classmio_1_1ProcReducePressure.html&quot;&gt;reduce pressure&lt;/a&gt;. This converts local air pressure to sea level pressure.</help>
......@@ -930,7 +930,7 @@ INIshell include file for MeteoIO filters
<!-- PROC RHWATERTOICE -->
<parametergroup name="PROC_RHWATERTOICE">
<option caption="Relative humidity over water correction" value="RHWATERTOICE" type="string" color="#459a4a">
<option caption="Relative humidity over water correction" value="RHWATERTOICE" color="#459a4a">
<reference name="ID_RESTRICT"/>
<reference name="TIME_RESTRICT"/>
<help>&lt;a href=&quot;https://models.slf.ch/docserver/meteoio/html/classmio_1_1ProcRHWaterToIce.html&quot;&gt;Relative humidity over water or ice&lt;/a&gt;. This corrects relative humidity over water for the full temperature range to relative humidity over ice when the air temperature is below the triple point and over water otherwise. For example useful for weather stations that report relative humidity with respect to water for the full temperature range.</help>
......@@ -939,7 +939,7 @@ INIshell include file for MeteoIO filters
<!-- PROC TRANSFORMWINDVECTOR -->
<parametergroup name="PROC_TRANSFORMWINDVECTOR">
<option caption="Wind reprojection" value="TRANSFORMWINDVECTOR" type="string" color="#459a4a">
<option caption="Wind reprojection" value="TRANSFORMWINDVECTOR" color="#459a4a">
<parameter key="%::ARG#::COORDPARAM" label="epsg:" type="text" size="small" validate="[0-9]+">
<help>Target EPSG code for transformation (default: COORDPARAM from the [Input] section)</help>
</parameter>
......
......@@ -129,7 +129,7 @@ INIshell include file for MeteoIO generators
</parametergroup>
<parametergroup name="GENERATOR_CLEARSKY_LW">
<option value="CLEARSKY_LW" type="choice">
<option value="CLEARSKY_LW">
<parameter key="%::ARG#::TYPE" label="Model:" type="alternative" optional="false">
<option value="Brutsaert"/>
<option value="Clark"/>
......@@ -247,7 +247,7 @@ INIshell include file for MeteoIO generators
</parametergroup>
<parametergroup name="GENERATOR_WINDCOMPONENTS">
<option value="WINDCOMPONENTS" type="choice">
<option value="WINDCOMPONENTS">
<reference name="ID_RESTRICT"/>
<reference name="TIME_RESTRICT"/>
<help>Generate &lt;a href=&quot;https://models.slf.ch/docserver/meteoio/html/classmio_1_1WindComponents.html&quot;&gt;VW and DW&lt;/a&gt; from the U and V wind components</help>
......@@ -255,7 +255,7 @@ INIshell include file for MeteoIO generators
</parametergroup>
<parametergroup name="GENERATOR_RADCOMPONENTS">
<option value="RADCOMPONENTS" type="choice">
<option value="RADCOMPONENTS">
<reference name="ID_RESTRICT"/>
<reference name="TIME_RESTRICT"/>
<help>Compute the &lt;a href=&quot;https://models.slf.ch/docserver/meteoio/html/classmio_1_1RadiationComponents.html&quot;&gt;global radiation (ISWR)&lt;/a&gt; from the direct and diffuse components.</help>
......@@ -263,7 +263,7 @@ INIshell include file for MeteoIO generators
</parametergroup>
<parametergroup name="GENERATOR_METEOINDEX">
<option value="METEOINDEX" type="choice">
<option value="METEOINDEX">
<parameter key="%::ARG#::TYPE" label="Model:" type="alternative">
<option value="WindChill"/>
<option value="HeatIndex"/>
......
......@@ -33,7 +33,7 @@ INIshell include file for gridded input / output plugin definitions
<option value="ARC">
<reference name="DEMFILE"/>
</option>
<option value="ARPS" type="text">
<option value="ARPS">
<reference name="DEMFILE"/>
<parameter key="ARPS_XCOORD" type="number" format="decimal" optional="false">
<help>X coordinate of the lower left corner of the grids</help>
......@@ -42,10 +42,10 @@ INIshell include file for gridded input / output plugin definitions
<help>Y coordinate of the lower left corner of the grids</help>
</parameter>
</option>
<option value="GRASS" type="text">
<option value="GRASS">
<reference name="DEMFILE"/>
</option>
<option value="GRIB" type="text" italic="true">
<option value="GRIB" italic="true">
<reference name="DEMFILE"/>
<parameter key="GRIB_DEM_UPDATE" type="alternative">
<option value="TRUE"/>
......@@ -53,10 +53,10 @@ INIshell include file for gridded input / output plugin definitions
<help>recompute slope/azimuth from the elevations when reading a DEM (default=false, that is we use the slope and azimuth included in the GRIB file)</help>
</parameter>
</option>
<option value="NETCDF" type="text">
<option value="NETCDF">
<reference name="DEMFILE"/>
</option>
<option value="PGM" type="text">
<option value="PGM">
<reference name="DEMFILE"/>
<reference name="PGM_IN"/>
</option>
......@@ -67,7 +67,7 @@ INIshell include file for gridded input / output plugin definitions
<!-- Alternative panel: LANDUSE -->
<parametergroup name="LANDUSEPLUGINS">
<parameter key="LANDUSE" label="Select LANDUSE plugin:" type="alternative" pre-generate="false">
<option value="ARC" type="text">
<option value="ARC">
<reference name="LANDUSEFILE"/>
</option>
<help>Plugin for land cover data </help>
......@@ -79,7 +79,7 @@ INIshell include file for gridded input / output plugin definitions
<parameter key="GLACIER_FROM_GRID" type="alternative">
<option value="TRUE">
<parameter key="GLACIER" label="Select GLACIER plugin:" type="alternative" default="ARC" optional="false">
<option value="ARC" type="text">
<option value="ARC">
<parameter key="GLACIERFILE" type="file" mode="input" optional="false">
<help>Grid providing the glacier height</help>
</parameter>
......@@ -95,10 +95,10 @@ INIshell include file for gridded input / output plugin definitions
<!-- Alternative panel: POI -->
<parametergroup name="POI">
<parameter key="POI" label="Select POI plugin:" type="alternative" pre-generate="false">
<option value="A3D" type="string">
<option value="A3D">
<reference name="POIFILE"/>
</option>
<option value="SMET" type="string">
<option value="SMET">
<reference name="POIFILE"/>
</option>
<help>Plugin that will provide the coordinates of points where special outputs should be produced (usually, more detailed outputs)</help>
......@@ -111,22 +111,22 @@ INIshell include file for gridded input / output plugin definitions
<help>The plugins in the dropdown menu below that are italicized require third-party libraries that might not be installed on your system.</help>
</parameter>
<parameter key="GRID2D" label="Select GRID2D plugin:" type="alternative" pre-generate="false">
<option value="ARC" type="text">
<option value="ARC">
<reference name="GRID2DPATH"/>
<reference name="ARC"/>
</option>
<option value="ARPS" type="text">
<option value="ARPS">
<reference name="GRID2DPATH"/>
<reference name="ARPS"/>
</option>
<option value="GRASS" type="text">
<option value="GRASS">
<reference name="GRID2DPATH"/>
</option>
<option value="GRIB" type="text" italic="true">
<option value="GRIB" italic="true">
<reference name="GRID2DPATH"/>
<reference name="GRIB_GRIDS"/>
</option>
<option value="PGM" type="text">
<option value="PGM">
<reference name="GRID2DPATH"/>
<reference name="PGM_IN"/>
</option>
......@@ -144,7 +144,7 @@ INIshell include file for gridded input / output plugin definitions
<help>The plugins in the dropdown menu below that are italicized require third-party libraries that might not be installed on your system.</help>
</parameter>
<parameter key="GRID3D" label="Select GRID3D plugin:" type="alternative" pre-generate="false">
<option value="ARPS" type="text">
<option value="ARPS">
<reference name="GRID3DPATH"/>
<reference name="ARPS"/>
</option>
......
......@@ -31,14 +31,14 @@ INIshell include file for gridded input / output plugin definitions
</parameter>
<section name="Output"/>
<parameter key="GRID2D" label="Select GRID2D plugin:" type="alternative" pre-generate="false">
<option value="ARC" type="text">
<option value="ARC">
<reference name="ARC_OUT"/>
</option>
<option value="NETCDF" bold="true" italic="true">
<reference name="NETCDF_OUT"/>
<help>NetCDF grids</help>
</option>
<option value="PNG" type="text" italic="true">
<option value="PNG" italic="true">
<reference name="PNG"/>
</option>
<help>Choose plugin for 2D gridded data</help>
......
......@@ -92,8 +92,8 @@ https://models.slf.ch/p/snowpack
<help>Set this option if the main station is on a slope and the input parameters are taken perpendicular to the slope. Works only for "NUMBER_SLOPES = 1"</help>
</parameter>
<parameter key="ALLOW_ADAPTIVE_TIMESTEPPING" type="alternative" default="TRUE" longlabel="true">
<option value="TRUE" type="string"/>
<option value="FALSE" type="string"/>
<option value="TRUE" />
<option value="FALSE" />
<help>Set whether adaptive time stepping is allowed for solving the heat advection equation/phase changes when unstable atmospheric stratification is encountered (only for non-neutral atmospheric stability schemes). It then temporarily reduces the time step, in order to reduce oscillations in surface temperature. This increases computation times. Note that independent of this flag, the time step can be temporarily reduced when the heat equation does not converge.</help>
</parameter>
</frame>
......@@ -450,7 +450,7 @@ https://models.slf.ch/p/snowpack
<frame caption="Permafrost" section="SnowpackAdvanced">
<parameter key="ADVECTIVE_HEAT" type="alternative" default="FALSE">
<option value="TRUE" type="string">
<option value="TRUE">
<parameter key="HEAT_BEGIN" type="number" format="decimal" precision="3" unit="m" optional="false">
<help>depth in meters where to start injecting the thermal flux (from the surface)</help>
</parameter>
......
......@@ -79,13 +79,13 @@ https://models.slf.ch/p/snowpack
<parameter key="PROF_WRITE" type="alternative" optional="false">
<option value="TRUE">
<parameter key="PROF_FORMAT" type="choice" optional="false">
<option value="PRO" type="text">
<option value="PRO">
<help>SN_GUI format, multi-profile asccii file (*.pro)</help>
</option>
<option value="PRF">
<help>tabular format; multi-profile ascii file (*.prf)</help>
</option>
<option value="IMIS" type="text">
<option value="IMIS">
<help>aggregated data; to be directly loaded in SLF database</help>
</option>
</parameter>
......@@ -124,7 +124,7 @@ https://models.slf.ch/p/snowpack
<parameter key="TS_WRITE" type="alternative" optional="false">
<option value="TRUE">
<parameter key="TS_FORMAT" type="alternative" optional="false">
<option value="SMET" type="string">
<option value="SMET">
<include file="meteoio_timeseries_output.xml"/>
<parameter key="ACDD_WRITE" label="Write ACDD metadata" type="alternative">
<option value="TRUE"><reference name="ACDD"/></option>
......
......@@ -178,7 +178,6 @@
<xsd:complexContent>
<xsd:extension base="grouping_base_type">
<xsd:attribute type="xsd:string" name="value" />
<xsd:attribute type="xsd:string" name="type" />
<xsd:attribute type="xsd:string" name="key" />
<xsd:attribute type="xsd:string" name="help" />
<xsd:attribute type="xsd:string" name="h" />
......
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