Versions Compared

Key

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

The scenario/script database for the FEWS Game is a directory containing an arbitrary number of scenarios/script. A scenario consists of a FEWS database (the so-called local data store) that contains measurement data and model data. A script is the story line and consists of all events that happen during the game. Each directory in the scenario/script database that contains a file named scenarioscript_config.xml is considered a scenario/script and will automatically appear in the list of scenarios/scripts that can be selected by the user of the FEWS Game. The following files/directories must be part of a scenario/script directory:

  • A scenario script configuration file named scenarioscript_config.xml.
  • A directory named localDataStore which holds the pre-loaded FEWS database. When a scenario/script is started in the FEWS Game, this directory is copied to the FEWS region directory.
  • An arbitrary number of files that are associated with events specified in the scenario script configuration.

Below is an example of a scenario database containing two scenarios/scripts.

Code Block
ScenarioDatabaseScenarioScriptDatabase
|-- storm surge March 10-13
|   |-- scenarioscript_config.xml
|   |-- localDataStore
|   |   |-- local.fdb
|   |   |-- moduleInstance_poolCache.cbin
|   |   |-- moduleInstance_rowCache.cbin
|   |   |-- timeSeries_poolCache.cbin
|   |   |-- timeSeries_rowCache.cbin
|   |   |-- warmState_poolCache.cbin
|   |   `-- warmState_rowCache.cbin
|   |-- exercise1_EN.txt
|   |-- exercise1_NL.txt
|   |-- start_session_EN.txt
|   |-- start_session_NL.txt
|   |-- telephone_call_EN.txt
|   |-- telephone_call_NL.txt
|   |-- weather_map_March12_00hr.pdf
|   |-- weather_map_March12_12hr.pdf
|   `-- weather_map_March13_00hr.pdf
`-- another storm surge
    |-- scenario_config.xml
    |-- localDataStore
    |   |-- local.fdb
    |   |-- moduleInstance_poolCache.cbin
    |   |-- moduleInstance_rowCache.cbin
    |   |-- timeSeries_poolCache.cbin
    |   |-- timeSeries_rowCache.cbin
    |   |-- warmState_poolCache.cbin
    |   `-- warmState_rowCache.cbin
    |-- file1.pdf
    `-- file2.pdf