Versions Compared

Key

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

Table of Contents
typeflat

Description

Select a grid ensemble member based on a scalar index.
Use case: Produce a relevant flood map based on the current forecast for e.g. water level. Starting point is a number of pre-computed flood maps for different forecast conditions. In an operational setting, you select the relevant flood map, based on the current forecast (water level, rainfall etc.). 

...

Since the input is both a SCALAR and a GRID, the headers cannot be matched based on location id (as the scalar and grid will have different location ids).
Instead of the transformation framework automatically matching input and output (based on identical location id) the transformation matches all possible input headers with the output.
Therefore, the transformation can only be run using a single location (and not a location set).

Output
  • Grid time series

The output time is determined by the time of the indices input.
The output grid is the grid ensemble member that corresponds to the input index.

Options

Because the time of the output time series is determined by the time of the ensemble member indices, it can happen that the input grids do not have data at the given time. 
Therefore, the transformation has an optional parameter:

...

  • Missing values in the index time series result in missing values in the output time series.
  • Index values for which no matching ensemble member is found result in missing values in the output time series

Use case: select a pre-calculated flood map based on a water level forecast

Preparation steps:

Operational steps:

  • Convert water level forecast to index, using a lookup transformation with a coefficientSetFile (see Simple#Coefficientset)
    • In the example the conversion is a simple as converting a water level forecast of 10.05 m to an index of 1005 (cm)
  • Select the corresponding flood map with this gridEnsembleMemberByIndex selection transformation.



XML example
Code Block
languagexml
linenumberstrue
<transformation id="ensembleLookup">
      <selection>
         <gridEnsembleMemberByIndex>
            <inputEnsembleIndices>
               <variableId>InputIndex</variableId>
            </inputEnsembleIndices>
            <inputTimeSeriesGrids>
               <variableId>InputGrids</variableId>
            </inputTimeSeriesGrids>
            <output>
               <variableId>Output</variableId>
            </output>
            <matchInputAndOutputGridTimes>false</matchInputAndOutputGridTimes>
         </gridEnsembleMemberByIndex>
      </selection>
   </transformation>
</transformationModule>

...