...
In FEWS 2014.01 a new feature was added to the UserSimple transformation making it possible to embed variables containing a LocationSet. This can be done by creating the element ‘inputVariableDefinition’ where:
- templateVariableId refers to the variable defined at the start of the transformation configuration file. This variable should have a time series set definition, which will be used as a template. The time series set will be filtered using the filter location.
- locationId filter location. The time series set of the template variable will be filtered using this location and the resulting time series set will be stored in configured variableId.
- variableId The variable used in the expression. It will store the time series set from the template variable, after filtering for the filter location. This variable does not need to be explicitly defined at the start of the transformation configuration file.
...
The following operators can be used in the expression: +, -, /, *, ^ as well as the logical operators for 'or' || and 'and' && .(see below image for an example of how this is used).
Functions
Furthermore the following functions can be used in the expression: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh, log, ln, exp, sqrt, abs, pow, max, min, sum, average, qnorm, pgamma. Note that the trigonometric functions assume that the argument is in radians.
...