Skip to content
Thomas Nipen edited this page Apr 29, 2017 · 34 revisions

Introduction

This wiki describes how to use Wxgen.

Wxgen creates weather time-series that are 1) gridded 2) arbitrarily long 3) with multiple weather variables. The program offers many different options for creating these time-series and allows a comparison of various combinations of options. For example, the below figure illustrates the length (in number of days) of the longest wet-spells for two competing strategies:

Download test database

To run the examples in this wiki, you will need to download the ECMWF-based database. Contact Thomas Nipen to get a hold of this.

Basic usage

Wxgen is a command-line program with three modes: sim, truth, and verif.

The simulation mode creates one or more scenarios of a desired length, and is run as follows:

wxgen sim [options]

Creating a truth scenario

This assembles a scenario that best represents the truth, based on the database. It connects the day 0 forecasts from the database (using ensemble member 0). When a day 0 forecast is not available, it will use the day 1 forecast from the previous initialization (and so forth until it finds one).

wxgen truth [options]

Verification

Simulations and truth scenarios can be evaluated using the verif mode>

wxgen verif [options]