Generate and run an ensemble of ACCESS-OM2 experiments by varying namelist parameters.
This repo uses submodules, so should be downloaded with
git clone --recursive https://github.com/aekiss/ensemble.git
It also requires payu unless the --test
option is used.
ensemble.yaml
to set:
template
: relative path to control experiment configuration directory.startfrom
: restart number in template
/archive to use as initial condition for perturbations (or rest
to start from rest).nruns
: total number of output directories to generate for each ensemble member.namelists
: specify lists of perturbation values to use.
template
may be used.turning_angle
(with values in degrees), not cosw
and sinw
; this ensures that consistent cosw
and sinw
values will be used../ensemble.py
template
(NB: you must commit any changes in template
that you want to use for the perturbation runs).cosw
and sinw
if turning_angle
is used).metadata.yaml
is updated to include information on the perturbation used.ensemble.py
can be re-run with additional perturbations.template
are ignored.payu sweep; payu run -n X
for each existing and new perturbation directory, where X
is the number of additional runs required to produce nruns
output directories in total for each perturbation. Thus additional runs of an existing ensemble can be achieved simply by increasing nruns
and running ./ensemble.py
again. Any newly-added perturbations (or crashed runs) will be run as many times as needed to match the number of outputs from the others.ensemble.py
has some command-line options:
% ./ensemble.py -h
usage: ensemble.py [-h] [--test] [yamlfile]
Generate ensemble of ACCESS-OM2 experiments. Latest version and help:
https://github.com/aekiss/ensemble
positional arguments:
yamlfile YAML file specifying parameter values to use for ensemble;
default is ensemble.yaml
optional arguments:
-h, --help show this help message and exit
--test for testing a fresh clone, with no payu dependency