Page tree
Skip to end of metadata
Go to start of metadata




 

What

TimeSeriesDisplayConfig.xml

Config group

SystemConfigFiles

Required

no

Description

Configuration file for the time series display (line styles etc)

schema location

http://fews.wldelft.nl/schemas/version1.0/timeSeriesDisplay.xsd

Introduction

The layout of the time series display is configured in an XML file in the System Configuration folder. When available on the file system, the name of the XML file is for example:

TimeSeriesDisplayConfig 1.00 default.xml

TimeSeriesDisplayConfig           Fixed file name for the time series display settings

1.00                                            Version number

default                                         Flag to indicate the version is the default configuration (otherwise omitted).

Figure 13 shows the main elements of the TimeSeriesDisplay configuration. These are divided into a number of sections, each of which will be discussed individually (these are indicated with a + sign).

Figure 13 Elements in the TimeSeriesDisplay configuration

description

An optional description of the configuration. This is for reference purposes only and will not be used elsewhere.

General Display Configuration

This includes global setting for the time series display.

Font Sizes

There are four elements which can be used to influence different font sizes in the time series dialog:

  • <legendFontSize>
  • <legendFormat>
  • <axisTitleFontSize>
  • <tickLabelFontSize>
  • <thresholdLabelFontSize>
legendFormat

With the use of legendFormat you can customise what insformation you wish to see on the legend of a graph plot.  Currently the supported data types are: location id, location name, location shoert name, parameter name, parameter id.

Use the following tags in the legendformat, they will be automatically replaced with the correct values:  

%LOCATION_ID%,
%LOCATION_NAME%,
%LOCATION_SHORTNAME%
%PARAMETER_ID%
%FORECASTINDEX%
%MODULEINSTANCE%
%ENSEMBLEID%
%ENSEMBLEMEMBERID%
%QUALIFIERNAME%
%PARAMETER_NAME%
%ADDITIONALPREFIX%
%MODIFIED%
%CUSTOMLABELEXTENTION%
%FUNCTIONLABEL%
%POSTPROCESSING%
%HISTORICALEVENTNAME%

Tags are case sensitive. If a tag configured that does not exist in the given time series, it will be replaced by an empty string. Example:
<legendFormat>%PARAMETER_NAME% %ENSEMBLEMEMBERID% measued at %LOCATION_NAME%</legendFormat>  → Water level measured at Lobith H105 
Legendformat does not work with timeseries header label function.

showValueInLegend works the same with or without legendFormat.

Examples:

  • <legendFormat>%PARAMETER_NAME%  measued at %LOCATION_NAME%</legendFormat>  → Water level measured at Lobith H105 
  • <legendFormat>%LOCATION_SHORTNAME% : %PARAMETER_ID%</legendFormat>  →  Lobith : WL
  • <legendFormat> %LOCATION_SHORTNAME% (%PARAMETER_NAME%)</legendFormat>   →  Lobith (Water level) 

Configuring a legendFormat will owerride any other (additional) default information.

barMarginPercentage

Percentage of the bar width by which the bar width will be reduced, to create space between the bars. Default value is 0. Since 2018.02 the barMarginPercentage can also be set for a specific subplot in the DisplayGroups.xml. These configured values will overrule the general barMarginPercentage for that specific subplot if present.

convertDatum

This optional Boolean setting can be used to start the time series display showing levels against the global reference level. The default is that levels are displayed against the local reference level. The difference between local and global reference is defined in the locations definition (see regional settings).

maximumInterpolationGap

Maximum gapsize which can be filled in by linear or block filler in the data editor

valueEditorPermission

Optional permission which must be assigned to a user to edit values in the data editor

lableEditorPermission

Optional permission which must be assigned to a user to edit labels in the data editor

commentEditorPermission

Optional permission which must be assigned to a user to edit comments in the data editor

headerLine

Optional information that will be displayed in the column header of the table. It is possible to make use of the location attributes, that can be included with the @-signs. If the attribute is empty or does not exist, the headerLine is not used.
It is possible to have multiple headerLines, but every headerLine can only contain one attribute.

Default view period

The optional default view period can be used to define the time span of data displayed in the time series display (unless overruled by the user).

Parameters

  • unit identifies the time unit with which the time span is defined (enumeration of second, minute, hour, day, week).
  • start identifies the start time of the time span with reference to the T0 (in multiples of the unit defined).
  • end identifies the start time of the time span with reference to the T0 (in multiples of the unit defined).

timeOfValidityDefaultViewPeriod

This optional default view period for the time of Validity (Tv) can be used to define the time span of data displayed in the time series display whenever the Tv button is selected. This view period is enforced every time the user switches to another display node. This view period is relative to the Tv of the time series in the display and not to T0. This element is required when you have configured a timeOfValidity element in the flagSourceColumns.xml configuration file. The functionality of Time of Validity is more exhaustively described in the Validation Status page.

Parameters

  • unit identifies the time unit with which the time span is defined (enumeration of second, minute, hour, day, week).
  • start identifies the start time of the time span with reference to the Tv (in multiples of the unit defined).
  • end identifies the start time of the time span with reference to the Tv (in multiples of the unit defined).

timeOfValiditySearchPeriod

The period evaluated to determine the Time of Validity. All the time series for this period are completely read from the database, so it is advised to make this period as short as workable. This element is required when you have configured a timeOfValidity element in the flagSourceColumns.xml configuration file. The functionality of Time of Validity is more exhaustively described in the Validation Status page.

Parameters

  • unit identifies the time unit with which the time span is defined (enumeration of second, minute, hour, day, week).
  • start identifies the start time of the time span with reference to the T0 (in multiples of the unit defined).
  • end identifies the start time of the time span with reference to the T0 (in multiples of the unit defined).

Tooltips Config

The timeSeries tooltips can be configured using the toolTipsConfig element. In case time series have properties, they can be made visible in the tooltip by configuring the toolTipProperties element. If this element is configured, all available properties will be displayed. To display only a selection of properties in a predefined order, the properties can be configured using one or more "property" elements. An example configuration is as follows:

	<toolTipsConfig>
		<toolTipProperties>
			<property>Observed_Date</property>
			<property>Prediction_Level</property>
			<property>Prediction_Level_Type</property>			
		</toolTipProperties>
	</toolTipsConfig>

 

Time Markers Display Configuration

Time series display markers are informative lines in the display. These may be defined to display vertical lines for times of interest. The configuration of horizontal lines for thresholds and the zero baseline is also included in this definition. Markers can be defined for four time values as well as for the thresholds and the zero baseline. Vertical lines are also available as lineStyle for plotting of time series, see below.

for time series

  • systemTime
  • displayTime: time that can be set with the display time button (clock icon) in the time series dialog, by default equals the system time
  • timeZero: T0 of the external forecast time series
  • forecastStartTime (since stable build 2014.01). This will show vertical lines in charts for the start times of forecast time series, i.e. time series of type external forecasting, simulated forecasting. It will only be shown when the forecast time series is configured with "read complete forecast" as readWriteMode. 
  • threshold
  • zeroBaseline
  • timeOfValidity (since 2016.01). This marker should be visualized in the display when the Tv button is activated. This will show vertical lines in charts placed at the Time of Validity (Tv) of that display node. The Tv is determined using the timeOfValiditySearchPeriod. The functionality of Time of Validity is more exhaustively described in the Validation Status page.

The following marker options can be used to display forecast confidence time spans in the time series display. Up to three forecast confidence time spans can be defined for each sub plot in the displayGroups configuration file.

  • forecastConfidence1
  • forecastConfidence2
  • forecastConfidence3

Within longitudinal profile displays, the markers can be set to display the minimum or maximum values. A variety of river bed levels can be included in a display if these are specified in the branches.xml file. 

for longitudinal profile:

  • riverBedLevel
  • leftBankLevel
  • leftFloodPlainLevel
  • leftMainChannelLevel
  • longitudinalProfileMaximum
  • longitudinalProfileMinimum
  • rightBankLevel
  • rightFloodPlainLevel
  • rightMainChannelLevel

To visualize model layer elevations when drawing a cross section in a spatial plot, one should use:

  • bottomLayerLevel
  • topLayerLevel

This applies only for parameters with unit in meters

It is possible to display vertical lines in the slider bar in the spatial display that mark the start and/or end times of the displayed grid time series. These markers will only be visible when more than one grid is displayed, i.e. multiple data layers in one grid plot. In that case the start and/or end times can be different for each grid time series. These markers are configurable using the following marker options in the time markers display configuration:

  • startTime
  • endTime

 


Figure 14 Elements in the TimeMarkersDisplay section of the TimeSeriesDisplay configuration

timeMarkerDisplayOptions

Root element of a definition time markers (multiple entries may exist).

Attributes;

  • marker enumeration of the possible markers (see list above).
color

Colour of the time series marker line (see enumeration of colours in appendix A).

lineStyle

Line style of time series marker line. Enumeration of "solid", "none", "bar", "dashdot", "dashed", "dotted", "solid;thick", "dashdot;thick", "dashed;thick"; "dotted;thick"; "area"; "constant".

The "constant" label should preferably only be applied if the time series holds only one value.

label

Define the name of time series marker line.

tableBackgroundColors

Since 2014.01 it is possible to have a time dependent background color in the table, for example to visualise the different night and day hours. This is possible per weekday.

<tableBackgroundColors>
  <timeZone>PST</timeZone>
  <background startTime="07:00:00" endTime="23:00:00" dayOfWeek="Sunday" color="gray80"/>
  <background startTime="07:00:00" endTime="23:00:00" dayOfWeek="Monday" color="gray80"/>
  ...
  <background startTime="07:00:00" endTime="23:00:00" dayOfWeek="Saturday" color="gray80"/>
</tableBackgroundColors>

Parameters display configuration

In this section of the time series display, default attributes of lines plotted for parameters can be allocated. These defaults will be used when plotting lines for these parameters in the time series displays and in the reports. Note that for allocation of the colour only the preferred colour can be identified. When the line is plotted this colour will be used only if there is no other line with the same colour. If this is the case then the next colour in the colour palette will be used.

Figure showing the options in the ParameterDisplayConfig section of the TimeSeriesDisplay configuration

Default Options

The Default Options can be configured (and has the same sequence as the single parameter display options) to be set as default appearance. This default is overruled by an individual ParameterDisplay Configuration for a parameter.

Figure showing the options in the Default Options section of the TimeSeriesDisplay configuration

The sequence is identical to the parameterDisplayOptions Configuration, see below

ParameterDisplayOptions

Figure 15 Elements in the ParameterDisplayOptions section of the TimeSeriesDisplay configuration

PreferredColor

The preferred colour for the line and markers. This colour will only be used if it is not yet available in the current graph. If it is, then the next colour in the template order will be selected.

lineStyle

Line style of timeseries. Enumeration "solid", "none", "solid;thick", "bar", "dashed", "dashed;thick", "dotted", "dotted;thick", "dashdot", "dashdot;thick", "area", "constant", "verticalLine"

Line style "constant" applies to the scalar timeseries with only one value.
For this value a value marker (horizonal line) is created in the plot.
If the timeseries has more values, line style "constant" is ignored and the values are drawn with the line style "solid"

Line style "verticalLine" applies to scalar timeseries where the value will be ignored and a vertical line will be drawn at the time step in the plot with the comment written along with it if present. These vertical lines will be shown in all selected plots, there will not be a separate plot created for the "verticalLine" time series.

markerStyle

Marker style for markers plotted on the vertices of the line. Enumeration of "none", "+", "x", "circle", "square", "rectangle", "diamond", "triangleup" , "triangledown".

Directional arrow markers

Since 2017.02, arrow markers can be plotted, where the direction of the arrow depends on a direction time series. This, for example, allows you to configure a wind speed parameter to include arrow markers signifying the wind direction when available. These arrow markers are currently supported in both the data display, as well as the report module. For the time series display FEWS will automatically search for the rotation time series, this does not have to be included in the display group or data viewer selection. For the report module, the configured chart does have to include both time series to ensure that the rotation data is available. 

markerRotationParameterId

The parameter id of the parameter to be used to determine the marker orientation. The given parameter should be a rotation in degrees (0 - 360, clockwise where 0 is north), for example wind direction. The markers drawn on the graph will be arrows (or the configured markerIcon) rotated by the number of degrees given by the marker rotation time series. Note that the time series set with all elements except parameterId (locationId, timeStep etc.) identical to the plotted parameter is used. If no rotation time series can be found, or it contains a missing value for a certain time, no marker is drawn.

markerIcon

Optional element to configure a custom arrow icon. If configured the icon will be used as a marker on the graph. If no custom icon is configured, FEWS will use a default arrow, which is automatically given the same color as the time series on which the markers are drawn. 

markerRotationOffset

Optional element (default 0). The configured offset (in degrees) is added to the rotation (as given by the markerRotationParameter) for each marker. Note that for the default arrow icon (when no markerIcon is given), a rotation of 0 degrees (and an offset of 0) corresponds to the arrow pointing up. For displaying wind direction, configure a markerRotationOffset of 180. 

Example

The example config below can be used to produce a graph with custom direction icons (displayed on the left in the image above). Removing the <markerIcon> element will result in the default arrow icons being used (displayed on the right in the image above). 

Example config for rotated arrow markers
		<parameterDisplayOptions id="WindSpeed">
			<preferredColor>purple</preferredColor>
			<lineStyle>solid</lineStyle>
			<markerRotationParameterId>WindDirection</markerRotationParameterId>
			<markerIcon>arrow_icon.png</markerIcon>
			<markerRotationOffset>180</markerRotationOffset>
		</parameterDisplayOptions>

markerSize

Size of the marker in points

Precision

Decimal precision with which values are given in the table. Also used when displaying the tool tip value and tick corresponding to the selected value in the time series chart. Not used for other ticks in time series chart.

min

Minimum of the y-scale to be used as a default for all displays of this parameter. The minimum is used, unless a value in the time series is lower than this minimum, in which case that is used. The minimum defined here can also be overruled in individual template definition in the DisplayGroups (see below).

max

Maximum of the y-scale to be used as a default for all displays of this parameter. This maximum is used, unless a value in the time series is higher than this maximum, in which case that is used. The maximum defined here can also be overruled in individual template definition in the DisplayGroups (see below).

step

Controls whether the time series is drawn as a step function in graphs. Note that for step functions, drawing markers is not supported.

maxTimeSpan

Optional field, only intended to be used for viewing non-equidistant series. Specifying this value will prevent the drawing of line segments in the TimeSeriesDisplay between adjacent time/value points for which the time difference exceeds the specified maximum time span.

tableHeaderBackgroundColor

Optional field to give the table header for a parameter a specific background color.

Module instance mapping

The module instance mapping allows user defined strings to be defined which will display the moduleInstanceID in the legends of the time series display. This can help shorten legends, or add additional information.


Figure 16 Elements in the Log Panel section of the Explorer configuration

moduleInstanceMapping

Root element for each mapping to be defined.

Attributes;

  • id ModuleInstanceId to be replaced
description

String to replace the module instance id in the legends

Statistical functionality

Time series statistical functions are statistical functions that use one equidistant, scalar time series to produce another one using a statistical function. When defined, a list of statistical functions will be displayed in the Time Series Display. If the user selects a function then for each (equidistant, scalar) time series in the display another one is generated and displayed with the calculated results. Calculated time series are displayed in the same graph as the time series they are based on.

Some statistical functions require an additional accumulation time span, time step or samples which the user can select using a slider. As soon as the user selects a different value from the slider the calculation is launched with the new value.

The Statistical functions group defines dedicated graphing options shown in the combo box in the toolbar:

Calendar aggregation (with associated time step)

Creates an aggregation of a time series array according to the selected time step.

Attributes:

  • function: calendarAggregation
  • timeStep: Time steps that the user selects by using the slider.
Relative aggregation (with associated time span)

Creates an aggregation of a time series array. A relative time step is calculated by the selected time span and the start time of the period from the time series array.

Attributes:

  • function: relativeAggregation
  • movingAccumulationTimeSpan: Time spans that the user selects by using the slider.
Duration exceedence

Sorts the values in a time series array and its flags in descending order.

Attributes:

  • function: durationExceedence
  • ignoreMissings: when true, missing values are ignored and each duration will be calculated from the available values within the current time window.
    When false, missing values are added to the end of the sorted series.
Duration non-exceedence

Sorts the values in a time series array and its flags in ascending order.

Attributes:

  • function: durationNonExceedence
  • ignoreMissings: when true, missing values are ignored and each duration will be calculated from the available values within the current time window.
    When false, missing values are added to the end of the sorted series.
Moving average (with associated time span)

A moving average calculates the mean value of the all values within the selected time window.

Attributes:

  • function: movingAverage
  • ignoreMissings: when true, missing values are ignored and each average will be calculated from the available values within the current time window.
    When false, calculated values will be set to missing if one or more values within the current time window are missing.
  • movingAccumulationTimeSpan: Time spans that the user selects by using the slider.

The moving average function only works for true equidistant data (i.e. no daysOfMonths etc.)
The difference between moving average and central moving average is that the central moving average uses values before and after the current value to calculate the average. Moving average only uses values in the past.

Central moving average (with associated time span)

A central moving average calculates the mean value of the time window of which the current value is in the middle. It is the same as the moving average, but shifted to the past for half the time window.

Attributes:

  • function: centralMovingAverage
  • ignoreMissings: when true, missing values are ignored and each average will be calculated from the available values within the current time window.
    When false, calculated values will be set to missing if one or more values within the current time window are missing.
  • movingAccumulationTimeSpan: Time spans that the user selects by using the slider.

The central moving average function only works for true equidistant data (i.e. no daysOfMonths etc.)
The difference between moving average and central moving average is that the central moving average uses values before and after the current value to calculate the average. Moving average only uses values in the past.

Accumulation interval (with associated time span or time step)

The accumulation interval function creates cumulative series for several intervals. For the first output time step in each interval the output value equals the input value for that time step. For a given other output time step the output value is equal to the sum of the input value for that time step and the previous output value. The intervals are defined by the selected time span or the selected time step. If a time span is selected, then the function uses the time span as the size for the intervals and the first interval starts at the start of the period that is visible in the time series display. If a time step is selected, then the function uses the selected time step to create intervals. Each period between two consecutive time steps in the selected time step is an interval.

Attributes:

  • function: accumulationInterval
  • movingAccumulationTimeSpan: Time spans that the user can select using the slider.
    or
  • timeStep: Time steps that the user can select using the slider.
Accumulation aggregation (with associated time span or time step)

The accumulation interval sums the values for all time steps within the selected time window range. The time window range is defined by the associated time span or time step.

Attributes:

  • function: accumulationAggregation
  • movingAccumulationTimeSpan: Time spans that the user can select using the slider.
    or
  • timeStep: Time steps that the user can select using the slider.
Frequency distribution (with associated samples)

The frequencies of the available values are counted and are plotted within a number of bins to create a frequency distribution. The number of bins can be selected using the slider. The data range that is covered by the bins can be changed as follows. Clicking the "Set boundaries" button brings up the "Set boundaries" dialog. In this dialog the lowest bin boundary and the highest bin boundary can be changed. The space between these two boundaries is divided regularly into the selected number of bins. Initially the boundaries are in automatic mode. In automatic mode for each time series the minimum data value and the maximum data value are used as boundaries. When the user selects new boundaries manually, then the new boundaries will be used instead, i.e. manual mode. In manual mode the boundaries are fixed and the same boundaries are used for all time series, until they are changed again. This makes comparisons between different time series possible. When the user clicks the "Automatic" button, then the boundaries will be in automatic mode again.

In manual mode the selected boundaries are remembered. This means that when the user closes and re-opens the time series display or starts working in another separate time series display, then in manual mode the previously selected boundaries will still be used for new frequency distributions. The mode will also be the same for all time series displays.

Attributes:

  • function: frequencyDistribution
  • samples: The number of bins that the user can select using the slider.
Gaussian curve (with associated samples)

The mean value and standard deviation are calculated for the timeseries from which the normal distribution function is calculated. The selected sample determines in how many samples the normal distribution function is divided into.

Attributes:

  • function: gaussianCurve
  • samples: Definition of samples sizes that the user selects by using the slider.

Note: The displayed diagram is no longer a graph of unit time and therefore uses a different panel for displaying the graph. The associated table panel is currently not working for this type of graph and therefore the table toggle button will be disabled.

Show peaks above value

A scatterplot is made where the x-axis shows the duration of a 'peak' (=values within this peak-area are all above the given reference level), the y-axis shows the normalized difference between the parameter value and the reference level. The reference level can be altered by entering a value into the input field associated with this statistical function. After clicking 'Apply' the result time series array is returned.
If no reference level is entered, then the 'peak' areas are determined according to the minimum available value of the input time series array.

Attributes:

  • function: showPeaksAbove
  • label: label used in the combobox to select a statistical function (since 2015.01). 

 

Subelements:

  • season (since 2015.01): one ore more color seasons can be configured with a color that will be used to display a point if the time of the show peaks above plot point is in that period. Periods should NOT be overlapping.
<statisticalFunction function="showPeaksAbove" label="Seasonal Show Peaks Above">
	<season startMonthDay="--01-01" endMonthDay="--03-31" label="January,February,March" color="orange"/>
	<season startMonthDay="--04-01" endMonthDay="--06-30" label="April, May, June" color="green"/>
	<season startMonthDay="--07-01" endMonthDay="--09-30" label="July, August, September" color="yellow"/>
	<season startMonthDay="--10-01" endMonthDay="--12-31" label="October, November, December" color="red"/>
</statisticalFunction>
Show lows below value

A scatterplot is made where the x-axis shows the duration of a 'low' (=values within this low-area are all beneath the given reference level), the y-axis shows the normalized difference between the parameter value and the reference level. The reference level can be altered by entering a value into the input field associated with this statistical function. After clicking 'Apply' the result time series array is returned.
If no reference level is entered, then the 'low' areas are determined according to the maximum available value of the input time series array.

Attributes:

  • function: showLowsBelow

See "show peaks above" for label and season functionality.

 

Scatterplot

The data is displayed as a collection of points, each having the value of the timeseries determining the position on the horizontal axis and the value of the other timeseries (one or more) determining the position on the vertical axis.
The timeseries used for the horizontal- and vertical axis can be changed by the user by using the 'Series selection' dialog, which is opened by clicking on the 'Edit' button. Note: The displayed diagram is no longer a graph of unit time and therefore uses a different panel for displaying the graph. The associated table panel is currently not working for this type of graph and therefore the table toggle button will be disabled.

Attributes:

  • function: scatterPlot

See "show peaks above" for label and season functionality.

Boxplot

The data is graphically displayed by a box-and-whisker diagram. The following five-number summaries are displayed: the smallest observation (sample minimum), lower quartile (Q1), median (Q2), upper quartile (Q3), and largest observation (sample maximum). An additional dot is plotted to represent the mean of the data in addition to the median.

Attributes:

  • function: boxPlot

Note: The displayed diagram is no longer a graph of unit time and therefore uses a different panel for displaying the graph. The associated table panel is currently not working for this type of graph and therefore the table toggle button will be disabled.

Schemas for the slider
movingAccumulationTimeSpan

Defines the time spans that the user can select using the slider for this function in the TimeSeriesDisplay. MovingAccumulationTimeSpan can only be used for functions of the following type: relativeAggregation, movingAverage, centralMovingAverage, accumulationInterval, accumulationAggregation.

timeStep

Defines the time steps that the user can select using the slider for this function in the TimeSeriesDisplay. TimeStep can only be used for functions of the following type: calendarAggregation, accumulationInterval, accumulationAggregation.

samples

Defines the amounts of samples that the user can select using the slider for this function in the TimeSeriesDisplay. Samples can only be used for functions of the following type: frequencyDistribution, gaussianCurve.

quickViewStatisticalFunction

Through the quickViewStatisticalFunction you can define a shortcut key (with optional icon) at the toolbar to a statistical function.

Descriptive Function Group

The descriptiveFunctionGroup defines the contents of the descriptive table. Several sub-tables can be configured (see sample).

Functions supported are:

Info functions (if this type of function is specified, the display provides a hint to select a column in the table in order to get more descriptive information):

  • info: displays parameter (long name+id), location (long name+id) 
  • infoLocationId
  • infoLocationName
  • infoModuleinstance
  • infoParameterId
  • infoParameterName

Time series information available

  • count: total number of populated records
  • missings: total number of missings
  • completed: number of records flagged as completed (gap filling)
  • corrected: number of records flagged as corrected
  • reliables: number of records flagged reliable
  • unreliables: number of records flagged unreliable
  • doubtfuls: number of records flagged doubtful
  • startTime
  • endTime

Descriptive statistical functions

The descriptive statistics functions are functions that are used for descriptive statistics. They can be defined to describe the distribution of the data (e.g. mean, min, max) or the data itself (info, start_time). All descriptive statistical functions produce a single value for a time series.

The descriptive functions results are displayed in group boxes that are named according to the group names that have been defined in the configuration file.

Attributes:
• function: Can be one of the functions below.
Information functions:

  • info: Name of the time series
  • start_time Start time of the time series in the view period
  • end_time: End time of the time series in the view period
    Grouping functions:
  • count: Number of time steps in the view period
  • missings: Number of missing values in the view period
  • doubtfuls: Number of doubtful values in the view period
  • reliables: Number of reliable values in the view period
  • unreliables: Number of unreliable values in the view period
    Statistical functions:
  • mean: Mean value in the view period
  • min: Lowest value in the view period
  • max: Highest value in the view period
  • percentile: Percentile in the view period for a given percentage (requires one or more value elements to define percentages; see below)
  • standard_deviation: Standard deviation in the view period
  • sum: Sum of the values in the view period
    • ignoreMissings: when true, missing values are ignored and each function will be calculated from the available values within the current time window.
    When false, calculated values will be set to missing if one or more values within the current time window are missing.

Duration curve

A duration curve illustrates the relationship between parameter values and their duration. When selected, the current graphs are replaced with duration curves.

Attributes:

  • function: always duration.
  • Moving average
    A moving average calculates the mean value of the time window directly before the current value.

Attributes:

  • function: always moving_average.
  • ignoreMissings: when true, missing values are ignored and each average will be calculated from the available values within the current time window.
    When false, calculated values will be set to missing if one or more values within the current time window are missing.

for more details, a Word-attachement is available.

Button Visibility Settings

Buttons in the TimeSeries Dialog can individually be set to be shown or hidden with use of the buttonsSettings element. More information on which sub-element controls which button can be found on the Button Visibility Settings subpage.

thresholdDisplayConfig

The thresholdDisplayConfig element allows more detailed configuration of threshold colours and location in the timeseries display. The example below shows the different attributes and elements of the thresholdDisplayConfig 

  • id: this is the Threshold ID as used in the Thresholds.xml file
  • visible: set to true to indicate the threshold must be visible in the graph
  • color: select the correct color of the threshold line
  • backgroundOpaquenessPercentage: set the opaqueness percentage of the threshold background, filled area below the threshold value in the graph
  • labelIncludesValue: set to true to add the threshold value in the threshold label
  • labelAlignment: select right or left to align the threshold label in the graph

Display Group hide all tool windows

The showDisplayGroupsHideAllToolWindows element is used to configure the displayGroupsButton (also known as shortcut or favourites). If the displayGroupsButton is enabled, all open tool windows (for example log panel, data viewer etc..) will be hidden. If the displayGroupsButton is disabled  again, all hidden tool windows will be shown again.

Resampling

Since 2018.01 the optional <resampling> element can be used to configure the time steps shown in the Time Series Resampling Dialog. The configured time steps will be shown in the dialog, in the same order as they appear in the configuration. They will replace the default time steps which are normally available. A configuration example is shown below:

Example configuration of custom time steps in the Resampling Dialog
	<resampling>
		<timeStep id="myCustomStep1"/>
		<timeStep id="myCustomStep2"/>
		<timeStep label="30 minutes" unit="minute" multiplier="30"/>
		<timeStep label="2 months" unit="month" multiplier="2"/>
	</resampling>

In this example, for the "myCustomStep1" and "myCustomStep2" time steps, the label configured in the TimeSteps.xml is used. 

As a configuration aid, the code block below shows how to configure the same time steps as are used by FEWS as a default. When the default is used, the labels will be automatically localized (translated). When configuring which time steps are to be shown in the dialog, this localization must be done by the configurator instead. 

Time steps used as default in the Resampling Dialog
	<resampling>
		<timeStep label="minute" unit="minute"/>
		<timeStep label="5 minutes" unit="minute" multiplier="5"/>
		<timeStep label="10 minutes" unit="minute" multiplier="10"/>
		<timeStep label="15 minutes" unit="minute" multiplier="15"/>
		<timeStep label="30 minutes" unit="minute" multiplier="30"/>
		<timeStep label="hour" unit="hour"/>
		<timeStep label="2 hour" unit="hour" multiplier="2"/>
		<timeStep label="3 hour" unit="hour" multiplier="3"/>
		<timeStep label="6 hour" unit="hour" multiplier="6"/>
		<timeStep label="12 hour" unit="hour" multiplier="12"/>
		<timeStep label="day" unit="day"/>
		<timeStep label="week" unit="week"/>
		<timeStep label="month" unit="month"/>
		<timeStep label="year" unit="year"/>
	</resampling>