Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
104 lines (71 sloc) 2.82 KB

The wflow Delft-FEWS adapter

wflow_adapt Module


wflow_adapt is an adapter that links wflow to Delft-FEWS ( it is typically run from the Delft-FEWS general adapter.

Linking wflow models to Delft-FEWS

To run the model from Delft-FEWS the following actions need to be performed:

  • The runinfo.xml file should be specified in the [run]section of the ini file
  • The use of netcdf input and output should be switched on
  • The postadapter ( needs to be run after the wflow run

The postadapter also converts the log messages of the model into Delft-FEWS diagnostics XML format.

  • Casenamerunidwflow.log is converted to wflow_diag.xml
  • Also the adapter log files is converted to wflow_adapt_diag.xml

Command line arguments:

An example of executing wflow from the Delft-FEWS general adapter is shown below:

<description>Run wflow</description>
<description>Run wflow post</description>
<command> <executable>bin-wflow\wflow_adapt.exe</executable> </command> <arguments>

The wflow_adapt module can also be used by other programs to convert .tss files to pi-xml vv. Below the API documentation of the module is given.

In the above example the state files belonging to the model should be configed as per below in the General Adapter XML. In Fews the read and write locations are as viewed from the model's point of view:

# Repeat for all state variables

Module function documentation

.. automodule:: wflow_adapt
You can’t perform that action at this time.