Versions Compared

Key

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

...

The configuration of Delft-FEWS is defined in a set of XML files and a properties file. In this section the different parts of the configuration are introduced. An understanding of these different parts of the configuration is required before attempting configuration of a Delft-FEWS system.

Configuration on local filesystem

Normally, when developing a Delft-FEWS configuration, this is first setup in a Stand alone application, which typically has a configuration setup on the local file system. In this case, the configuration is defined by a fixed set of directories, each containing different parts of the configuration. These directories are all contained under the Config directory.

Configuration in local datastore and central database

When distributing the application, the configuration files are instead shared via a local datastore or the central database. The local datastore or the central database, stores the same local filesystem configuration directory structure in dedicated SQL tables, each table containing different configuration directory. When initiating the Stand alone Delft-FEWS application, it will look for configuration stored in the local datastore or in the filesystem. If both are found, then the system will ask the user to choose which to use. If neither is found then an appropriate error message is issued and the system will stop. The configuration in the central database belongs to a dedicated Delft-FEWS implementation of a particular forecasting system. In the live system situation the contents of the database will be shared between all operator clients and forecasting shell servers in the system, and is therefore expected to be identical in all parts of the system. When initiating the Delft-FEWS application, it will look for configuration stored in the local datastore or in the filesystem. If both are found, then the system will ask the user to choose which to use. If neither is found then an appropriate error message is issued and the system will stop.

RootConfig files

A small set of XML files referred to as the root configuration files may differ between operator client and/or forecasting shell server. This root configuration is required to identify for example if the particular instance of Delft-FEWS is operating in stand-alone mode or as an operator client, or on windows or linux. These root configuration files have no effect on the hydrological configuration and are normally not changed during configuration of the forecasting system side of Delft-FEWS.

...