Skip to content

Creating scenarios

Thomas Nipen edited this page Apr 3, 2017 · 16 revisions

To create scenarios, the -db, -n, -t, and -o flags must be specified:

  • -db specifies a database to sample from
  • -n specifies how many scenarios to create
  • -t specifies how long (in number of days) the scenarios should be
  • -o specifies what file to store the scenarios in

For example, the following command:

wxgen sim -db database.nc -n 10 -t 1000 -o sim.nc

creates 10 simulations that each are 1000 days long. The results are stored in sim.nc.