Skip to content

Creating scenarios

Thomas Nipen edited this page Apr 15, 2019 · 16 revisions

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

  • -db specifies a NetCDF 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 db.nc -n 21 -t 365 -o sim.nc

creates 21 simulations that each are 365 days long. The results are stored in sim.nc.

For a complete list of options, run wxgen sim without arguments:

wxgen sim