Versions Compared

Key

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

...

A new version of the FEWS Transformation Module is currently under construction. The new version is much more easy to configure than the old version. The new version uses a new schema for configuration, which is explained below (TODO). Currently only a few of the old transformations are available in the new transformation module. All of the old transformations will be made available in the new module, as well as several new transformations.

Anchor
listOfTransformations
listOfTransformations
List of transformations

This list will be continuously updated to show the current status of the transformations available in the new transformation module.

...

Both the transformations and coefficient sets can be configured to be time dependent. This can be used for instance to define a given coefficient value to be 3 from 1 January 2008 to 1 January 2009, and to be 4 from 1 January 2009 onwards. This can be done by defining multiple periodCoefficientSets, each one with a different period, as in the following xml example.

Code Block
xml
xml
    <periodCoefficientSet>
        <period>
            <startDate>2008-01-01T00:00:00Z</startDate>
            <endDate>2009-01-01T00:00:00Z</endDate>
        </period>
        <structure>
            <pumpFixedDischarge>
                <discharge>3</discharge>
            </pumpFixedDischarge>
        </structure>
    </periodCoefficientSet>
    <periodCoefficientSet>
        <period>
            <validAfterDate>2009-01-01T00:00:00Z</validAfterDate>
        </period>
        <structure>
            <pumpFixedDischarge>
                <discharge>4</discharge>
            </pumpFixedDischarge>
        </structure>
    </periodCoefficientSet>

The Z in

...

2008-01-01T00:00:00Z

...

in the above example means that the time is specified in GMT. To specify the time in a different time zone use e.g.

...

2008-06-20T11:33:00+05:00

...

for time zone

...

GMT+05:00

...

. Note:

...

2008-06-20T11:33:00+05:00

...

is physically the same time as

...

2008-06-20T06:33:00Z

...

.