Description and usage

This transformation is used to convert a discharge to a stage with a Rating Curve.

The transformation performs the conversion based on the Rating Curve for the current location. The transformation assumes that the rating curve to use for the conversion has the same id as the locationId used in the transformation for the input time series. In case the id of the rating curve is not the same as the locationid then it is possible to configure a custom id for the rating curve.

The conversion will be done based on a table lookup. The details of the conversion are described in the chapter ....

Input/Output time series

In this function two time series must be identified.

  1. An input time series of instantaneous discharge values.
  2. An output time series of instantaneous stage values.
    Each time series is assigned a variable ID which is used in the actual expression. For definition of input and output time series see Transformation - Inputs and Outputs.

Configuration

A basic configuration of the function is described below. This describes the main elements and attributes required and provides an example configuration.

discharge

required element defining the identifier of the input time series with discharge values.

stage

required element defining the identifier of the output time series with stage values.

ratingCurve

optional element for configuring a custom rating curve.


Example
<transformation id="QINE">
    <dischargeStage>
        <ratingCurve>
            <discharge>
                <variableId>AGSK1_QINE_6</variableId>
            </discharge>
            <stage>
                <variableId>AGSK1_SSTG_6</variableId>
            </stage>
        </ratingCurve>
    </dischargeStage>
</transformation>

Advanced configuration topics

Additional advanced options are available and are briefly described. See schema for information on how to configure advanced options.

className

Optional element to define a Java class to override the default class used for the transformation. If used this class must be available and implement the required transformation interface. See transformation - user defined classes for details


Schema Definition


Common issues

Issues

Possible causes

log message "Can not convert discharge to stage, rating curve missing"

Default rating curve id (locationid of the input time series) is not correct. Specifiy a custom rating curve id.


Related items

  • No labels