-
Notifications
You must be signed in to change notification settings - Fork 7
Creating scenarios
Thomas Nipen edited this page May 2, 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 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
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 db.nc -n 21 -t 365 -o sim.nc -s agg
The -s agg
option is useful when you want to test the verification system in Wxgen, since the files are must smaller.
Copyright © 2016-2019 Norwegian Meteorological Institute
- Home
- Creating scenarios
- Creating truth scenarios
- Verification
- Other
- Developing
- Change log