Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  • variableId is the identifier of this variable. This variableId must be used in the expression.
  • templateVariableId templateVariableId  refers to the variable defined at the start of the transformation configuration file. Note that in the example this variable contains a LocationSet.locationId is used to define a specific timeseries when the embedded variable (templateVariableId) contains multiple locationsThis 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.

In the example below Location_A is part of the locationSet Test_Locations:

...