WSL/SLF GitLab Repository

Commit 2a75b577 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Added new ENABLE_XXX_FILTERING keys, code factorization in 1dinterpolations...

Added new ENABLE_XXX_FILTERING keys, code factorization in 1dinterpolations and new option for decimal dates in CSV plugin
parent 056996f1
......@@ -139,7 +139,7 @@ https://models.slf.ch/p/alpine3d
<!-- FILTERS -->
<include file="meteoio_filters.xml"/>
<frame caption="Filters">
<frame caption="Meteo Filters">
<section name="Filters"/>
<reference name="FILTERS"/>
</frame>
......@@ -151,17 +151,7 @@ https://models.slf.ch/p/alpine3d
<!-- RESAMPLING -->
<include file="meteoio_1dInterpolations.xml"/>
<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>
</parameter>
<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>
</parameter>
<reference name="1D_INTERPOLATIONS"/>
</frame>
<reference name="1D_INTERPOLATIONS"/>
<!-- GENERATORS -->
<include file="meteoio_generators.xml"/>
......
......@@ -75,7 +75,7 @@ https://models.slf.ch/p/meteoio
<!-- FILTERS -->
<include file="meteoio_filters.xml"/>
<frame caption="Filters">
<frame caption="Meteo Filters">
<section name="Filters"/>
<reference name="FILTERS"/>
</frame>
......@@ -87,17 +87,7 @@ https://models.slf.ch/p/meteoio
<!-- RESAMPLING -->
<include file="meteoio_1dInterpolations.xml"/>
<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>
</parameter>
<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>
</parameter>
<reference name="1D_INTERPOLATIONS"/>
</frame>
<reference name="1D_INTERPOLATIONS"/>
<!-- GENERATORS -->
<include file="meteoio_generators.xml"/>
......
......@@ -25,6 +25,15 @@ INIshell include file for MeteoIO temporal interpolations
<inishell_include>
<parametergroup name="1D_INTERPOLATIONS">
<parameter key="ENABLE_RESAMPLING" label="ENABLE_RESAMPLING" caption="Interpolate data" type="checkbox" default="TRUE">
<section name="Interpolations1D"/>
<help>Should the data be resampled to the timesteps requested from outside (it is very strongly suggested to keep it set to TRUE for most applications)</help>
</parameter>
<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>
</parameter>
<parameter label="Add/Remove 1D interpolation" type="selector">
<section name="Interpolations1D"/>
<parameter key="%::RESAMPLE" label="Resample % with:" type="alternative" template="true">
......
......@@ -26,6 +26,9 @@ INIshell include file for MeteoIO filters
<!-- TIME FILTERS -->
<parametergroup name="TIMEFILTERS">
<parameter key="ENABLE_TIME_FILTERS" label="ENABLE_TIME_FILTERS" caption="Enable time filters?" type="checkbox" default="TRUE">
<help>Should the declared time filters be processed? (it is very strongly suggested to keep it set to TRUE for most applications)</help>
</parameter>
<parameter key="TIME::FILTER#" label="Add/remove filter for timestamps:" type="alternative" replicate="true">
<!-- time filters -->
<reference name="TIMEFILTER_SUPPR"/>
......@@ -37,6 +40,9 @@ INIshell include file for MeteoIO filters
<!-- FILTERS -->
<parametergroup name="FILTERS">
<parameter key="ENABLE_METEO_FILTERS" label="ENABLE_METEO_FILTERS" caption="Enable meteo parameters filters?" type="checkbox" default="TRUE">
<help>Should the declared meteorological filters be processed? (it is very strongly suggested to keep it set to TRUE for most applications)</help>
</parameter>
<parameter label="Add/Remove Filter" type="selector">
<parameter key="%::FILTER#" type="alternative" replicate="true" template="true" pre-generate="false" bold="true">
<!-- filters -->
......
......@@ -296,6 +296,17 @@ Please include meteoio_parametergroups before use!
<help>Time format specification, such as &lt;code&gt;HH24:MI:SS&lt;/code&gt;</help>
</parameter>
</option>
<option value="DECIMAL">
<parameter key="CSV_DECIMALDATE_TYPE" type="alternative" optional="false">
<option value="EXCEL"/>
<option value="MATLAB"/>
<option value="RFC868"/>
<option value="UNIX"/>
<option value="JULIAN"/>
<option value="MJULIAN"/>
<option value="TJULIAN"/>
</parameter>
</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+" notoggle="true">
......
......@@ -93,7 +93,7 @@ https://models.slf.ch/p/snowpack
<!-- FILTERS -->
<include file="meteoio_filters.xml"/>
<frame caption="Filters">
<frame caption="Meteo Filters">
<section name="Filters"/>
<reference name="FILTERS"/>
</frame>
......@@ -105,17 +105,7 @@ https://models.slf.ch/p/snowpack
<!-- RESAMPLING -->
<include file="meteoio_1dInterpolations.xml"/>
<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>
</parameter>
<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>
</parameter>
<reference name="1D_INTERPOLATIONS"/>
</frame>
<reference name="1D_INTERPOLATIONS"/>
<!-- GENERATORS -->
<include file="meteoio_generators.xml"/>
......
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