...
- Grid time series with different ensemble members (variable needs to have read complete forecast as readWriteMode, timeSeriesType can be temporary)
- Scalar time series, with ensemble indices as values
...
- 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
- inputTimeSeriesGrids requires read complete forecast as readWriteMode
Use case: select a pre-calculated flood map based on a water level forecast
This use case is provided as an example, to inspire your own use and configuration choices.
Preparation steps:
- outside of Delft-FEWS: Create (interpolated) flood maps for the required water level granularity (e.g. every 5cm).
- Ensure the corresponding water level is in the file name of the flood map (e.g. floodmap_xxxxcm1005cm.nc)
- Import the flood map library in Delft-FEWS as an ensemble
- Create ensembleMemberIds based on the file name with the option fileNameEnsembleMemberIndexPatter (see Import Module configuration options#fileNameEnsembleMemberIndexPattern)
In our example the file floodmap_1005cm.nc would get ensembleMemberId 1005 - You can choose to use importType NETCDF-CF_GRID_REFERENCES (see NETCDF-CF_GRID#Importofmetadataand(OpenDAP)gridreferences(since2019.02))
- Create ensembleMemberIds based on the file name with the option fileNameEnsembleMemberIndexPatter (see Import Module configuration options#fileNameEnsembleMemberIndexPattern)
...
- 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.
- In the example the index value of 1005 would select the grid with ensembleMemberId 1005, which is floodmap_1005.nc
XML example
Code Block | ||||
---|---|---|---|---|
| ||||
<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> |
...