-
Notifications
You must be signed in to change notification settings - Fork 7
Creating scenarios
Thomas Nipen edited this page Apr 29, 2017
·
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 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.
For a complete list of options, run wxgen sim without arguments:
wxgen sim
By default, aggregated values are written. To create gridded output, use the -s flag (scale). -s has three options:
- The default value "agg" specifies aggregated output (one value for the whole domain)
- "large" specifies large scale, which is the same resolution as the input database
- "small" specifies downscaled values (not yet implemented).
wxgen sim -db database.nc -n 10 -t 1000 -o sim.nc -s large
Copyright © 2016-2019 Norwegian Meteorological Institute
- Home
- Creating scenarios
- Creating truth scenarios
- Verification
- Other
- Developing
- Change log