Difference between revisions of "Box model"
(UKCA box model) |
|||
Line 1: | Line 1: | ||
+ | |||
− | Dummy page for running the UKCA box model |
||
+ | == UKCA Box Model - Version 1 == |
||
+ | |||
+ | The UKCA Box Model is a set of wrapper code which allow the running of the UKCA code base, taken directly from the repository trunk, independently of the UM as if running the chemistry and aerosol code over a single grid cell. The box model is designed to be used primarily for development and testing purposes - due to it's simple design it can quickly compiled and run on a single core in minutes, making debugging of changes to the core chemistry routines substantially faster than on the 3D model. The model has been tested to run in three broad modes, currently it only works with chemical mechanisms which utilise the ASAD framework:<br/> |
||
+ | * Chemistry only, using StratTrop or CRI-Strat chemical mechanisms |
||
+ | * GLOMAP Aerosol with offline oxidents |
||
+ | * Coupled online chemistry-aerosol, using GLOMAP-MODE aerosol and StratTrop or CRI-Strat chemical mechanisms.<br/> |
||
+ | |||
+ | As well as use for development and testing, the box model is an integral part of the broader UKCA development strategy, as part of the ExCALIBUR ['LINK'] project, to enable the wholesale movement of the UKCA code base out of the UM into a seperpate repository. This transfer is occurring as part of the changes being made for UM vn13.0, Ticket [https://code.metoffice.gov.uk/trac/um/ticket/6717 #6717]. |
||
+ | |||
+ | ---- |
||
+ | |||
+ | == Overview == |
||
+ | |||
+ | ---- |
||
+ | |||
+ | == Running and Compiling == |
||
+ | |||
+ | * VM |
||
+ | * Met Office computer (Pedro?) |
||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ---- |
||
+ | |||
+ | == Suites == |
||
+ | |||
+ | ---- |
||
+ | |||
+ | == Inputs == |
||
+ | |||
+ | ---- |
||
+ | |||
+ | == Output == |
||
+ | |||
+ | |||
+ | |||
+ | *Scraps* |
||
+ | |||
+ | '''Usage:''' |
||
+ | |||
+ | '''A. Met Office desktop:'''<br/> |
||
+ | ''/home/h02/hadzm/eval_v2/camb_chem/eval_tropchem_spice.py -i <ppfiles> [-s STASHlist] [-m trmap]'' |
||
+ | |||
+ | ;Options |
||
+ | {| |
||
+ | | -h, --help || show this help message and exit |
||
+ | |- |
||
+ | | -i || Required: ppfiles (12) from the year to analyse -full path- |
||
+ | |- |
||
+ | | -s STASHLIST || Optional: STASHcodes list, e.g. if using pre-vn8.5 output (diags in Section 34 vs 50) |
||
+ | |- |
||
+ | | -m TRMAPS || Optional :Var<->STASH mapping file, e.g. if using pre-vn8.5 output |
||
+ | |- |
||
+ | | -f SCALE_FAC || Optional : Flux multiplication factor, to account for difference in UM:UKCA call frequency (default=3.0 for 1 UM: 3 UKCA timesteps) |
||
+ | |} |
||
+ | |||
+ | '''B. MONSooN Postprocessor:'''<br/> |
||
+ | ''/home/mdalvi/eval_v2/camb_chem/eval_tropchem.py -i <ppfiles> [-s STASHlist] [-m trmap]'' |
Revision as of 10:28, 10 May 2022
UKCA Box Model - Version 1
The UKCA Box Model is a set of wrapper code which allow the running of the UKCA code base, taken directly from the repository trunk, independently of the UM as if running the chemistry and aerosol code over a single grid cell. The box model is designed to be used primarily for development and testing purposes - due to it's simple design it can quickly compiled and run on a single core in minutes, making debugging of changes to the core chemistry routines substantially faster than on the 3D model. The model has been tested to run in three broad modes, currently it only works with chemical mechanisms which utilise the ASAD framework:
- Chemistry only, using StratTrop or CRI-Strat chemical mechanisms
- GLOMAP Aerosol with offline oxidents
- Coupled online chemistry-aerosol, using GLOMAP-MODE aerosol and StratTrop or CRI-Strat chemical mechanisms.
As well as use for development and testing, the box model is an integral part of the broader UKCA development strategy, as part of the ExCALIBUR ['LINK'] project, to enable the wholesale movement of the UKCA code base out of the UM into a seperpate repository. This transfer is occurring as part of the changes being made for UM vn13.0, Ticket #6717.
Overview
Running and Compiling
- VM
- Met Office computer (Pedro?)
Suites
Inputs
Output
- Scraps*
Usage:
A. Met Office desktop:
/home/h02/hadzm/eval_v2/camb_chem/eval_tropchem_spice.py -i <ppfiles> [-s STASHlist] [-m trmap]
- Options
-h, --help | show this help message and exit |
-i | Required: ppfiles (12) from the year to analyse -full path- |
-s STASHLIST | Optional: STASHcodes list, e.g. if using pre-vn8.5 output (diags in Section 34 vs 50) |
-m TRMAPS | Optional :Var<->STASH mapping file, e.g. if using pre-vn8.5 output |
-f SCALE_FAC | Optional : Flux multiplication factor, to account for difference in UM:UKCA call frequency (default=3.0 for 1 UM: 3 UKCA timesteps) |
B. MONSooN Postprocessor:
/home/mdalvi/eval_v2/camb_chem/eval_tropchem.py -i <ppfiles> [-s STASHlist] [-m trmap]