You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 47 Next »

Set-up environment

To set-up a traning environment for the FEWS application ConfigCourse_WC, you have to take the following steps:

  • Create a FEWS_WaterCoach folder
    • Add a stand alone copy of the operational ConfigCourse_WC system (a few changes are necessary)
    • Add a FEWS bin folder (this can be a copy of the operational FEWS version, but also a newer version with new functionality you want to train)
      • Add the ConfigCourse_WC.exe and ConfigCourse_WC.jpif file to start the ConfigCourse_WC system (copy these files from the bin folder of the operational system and modify the region dir in the .jpif file)
    • Add a jre folder (copy of the jre folder in the operational FEWS system)
  • Create a WaterCoach folder
  • Create the folder ScenarioScriptDatabase
    • Add a folder ConfigCourse_WC for the system
      • Add a folder Demo for the (first) scenario
        • Add a folder Demo_script for the (first) script for this specific scenario
        • Add the localDataStore for this scenario (copy of the localDataStore folder from the operational system)

jpif file

The .jpif file for the Water Coach has the following contet:

..\FEWS_WaterCoach\jre
-jar
WaterCoach.jar
ConfigCourse_WC.xml

Optionally, you can pre-fill the form with which you select the scenario and such. In that case, add all of the following lines:
Name (i.e. Name of the participant)
Demo (i.e. Name of the scenario to be selected)
Demo_script (i.e. Name of the script to be selected)
1 (i.e. speed up factor)
1 (i.e. experience level)

application_config.xml

Create the application config xml file (you can use this example)
You can rename this file to match the name of your forecasting system, e.g. ConfigCourse_WC.xml

Inspect the elements of the example and make modifications:

  • change the preferred language with the locale keyword (e.g. to "NL" or "EN")
  • check the path for the fewsExecutable
  • check the path for the fewsRegionDir
  • does the fewsSystemTimeUpdateInMinutes match your fews configuration?
  • check the path for the scenarioScriptDatabasePath
  • check if the fileAssociation is correct for your system
  • check whether the configuration of timeControl, what do all the options imply?
  • do you want to use different {{experienceLevel}}s?
  • does the fewsPiPortNumber match your fews configuration?

script_config.xml

Create the script_config.xml file from scratch, or check out this example
Note: The script file should always be named script_config.xml

With the example script_config.xml in place you can run the Water Coach by double clicking the ConfigCourse_WC.exe.
Try it !

Inspect the elements of the example and make modifications:

  • title
  • timeZone
  • dataStart
  • scriptStart
  • scriptStop The example script runs for 1 minute. Extend the length of the script by changing the value of the scriptStop keyword.
  • stories
  • forecastTable
  • Unknown macro: {foreastNote}

    }

  • Unknown macro: {dictionaryFiles}

    }

You can run the Water Coach by double clicking the ConfigCourse_WC.exe. Select the scenario and script you have created.
Test your modifications!

The tools provided can be used in any way you like, get creative!

Stories

Stories

Frames

Frames

  • No labels