Versions Compared

Key

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

...

Anchor
_Toc99180668
_Toc99180668
Module parameters

New Style Parameters

Since September 2008 a new type of module parameters file has been introduce to the DELFT-FEWS system. This file coexists with the previous module parameters file, described in the next section. However in the future the old file format is to be phased out and replaced by the new file format.
The module parameters are subdivided into Groups. A Group has an unique id and the following list of elements:

  1. description: Used to describe this group of parameters. (Optional)
  2. locationId: Location id for this group of parameters. If used externally this is the external locationId. (Optional)
  3. model: Element to identify the model (algorithm) the parameters are configured for. (Optional)
  4. validPeriod: Period the parameters are valid in. When missing the parameters are always valid. The idea is to have only one Group without a valid period. This Group would then be considered as the DEFAULT Group. (Optional)
    //
    Choice between a list of:
  5. parameter: A number of parameter items. Each parameter item must have an unique id. (> 0)
  6. ensemble: A number of ensemble members. Each ensemble parameter item must have an unique id.(> 0)


schema file, root element

example file

pi_modelparameters.xsd, parameters

moduleparams.xml


The structure of the XML schema is given in the figure below:
Image Added

Details of parameters
Image Added

Details of ensembles
Image Added

Old Style Parameters

DELFT-FEWS can read and write module parameters in XML format. The format is described in the schema. Each file can contain a number of parameters that are (optionally) combined in parameter sets. A parameter can be a floating point value (with a specified minimum and maximum value), an integer value (also with a specified minimum and maximum value) or a Boolean value (either 0 or 1, false or true). Double long and Boolean values can have an allow adjust parameter that indicates if DELFT-FEWS may adjust the parameter in some sort of fitting exercise. String parameters can be used to store specific module information.

...