Difference between revisions of "Solution to UKCA & UMUI Tutorial 5 Task 5.2"

From UKCA
Line 20: Line 20:
   
 
* '''increase''' the value of '''n_chem_emissions''' to '''10'''.
 
* '''increase''' the value of '''n_chem_emissions''' to '''10'''.
* Edit '''em_chem_spec''' so that it now includes '''ALICE''', like this <pre> (/'NO ','CH4 ','CO ','HCHO ', &<br/> 'C2H6 ','C3H8 ','Me2CO ','MeCHO ', &<br/> 'C5H8 ','ALICE ','NO_aircrft'/)</pre>
+
* Edit '''em_chem_spec''' so that it now includes '''ALICE''', like
  +
(/'NO ','CH4 ','CO ','HCHO ', &
  +
'C2H6 ','C3H8 ','Me2CO ','MeCHO ', &
  +
'C5H8 ','ALICE ','NO_aircrft'/)
   
   

Revision as of 17:20, 20 June 2013

Back to the adding new chemical emissions tutorial

Task

You should now make the UKCA code changes to add your emission into the ALICE tracer. No run-time processing of this surface emission is required.

Solution

As no run-time processing of this field is required, the only changes that need to be made are those in ukca_setd1defs.F90

Code changes to ukca_setd1defs.F90

In ukca_setd1defs.F90 you should scroll-down to the code block controlled by the

          ELSE IF (L_ukca_strattrop .AND. .NOT. L_ukca_achem) THEN

statement and

  • increase the value of n_chem_emissions to 10.
  • Edit em_chem_spec so that it now includes ALICE, like
                 (/'NO        ','CH4       ','CO        ','HCHO      ', &
                   'C2H6      ','C3H8      ','Me2CO     ','MeCHO     ', &
                   'C5H8      ','ALICE     ','NO_aircrft'/)



Written by Luke Abraham 2013