UKCA & UMUI Tutorial 9
From UKCA
Revision as of 09:59, 26 June 2013 by Nla27 (talk | contribs) (Created page with " Back to UKCA & UMUI Tutorials ==Adding New Diagnostics== If you are using one of the chemistry schemes that uses ASAD (e.g. ''CheT/TropIsop'', ''Che…")
Adding New Diagnostics
If you are using one of the chemistry schemes that uses ASAD (e.g. CheT/TropIsop, CheS/Strat, CheST/StratTrop) then you can make use of the ASAD Reaction Flux Diagnostics module (held in asad_chem_flux_diags.F90). These allow you to straight-forwardly out new reaction and deposition fluxes.
To output new diagnostics you will first need to define them in the asad_flux_dat.F90 module, and then create a new STASHmaster file for them.
Flux Definitions in asad_flux_dat.F90
Within the asad_flux_dat.F90 module the diagnostics are defined in blocks with the format
asad_flux_defn('Top-level diagnostic type',Stash code,'Second-level diagnostic specification',Tropospheric Mask,Reaction number,Number of species/reactants and products, & (/'Species/Reactant 1','Reactant 2'/), & (/'Product 1','Product 2','Product 3','Product 4'/)), &
Written by Luke Abraham 2013