Difference between revisions of "Solution to UKCA & UMUI Tutorial 8 Task 8.1"

From UKCA
Line 52: Line 52:
   
 
==Output==
 
==Output==
  +
  +
If you view the BOB (34065) field in the '''pb''' after these changes, and compare it to the equivalent field after the [[Solution to UKCA & UMUI Tutorial 7 Task 7.1 | previous Task (7.1)]] you will see that there are some difference. However, we will not be able to quantify these differences correctly until [[UKCA & UMUI Tutorial 9 | Tutorial 9: Adding new UKCA diagnostics]].
   
 
==Worked Solution==
 
==Worked Solution==

Revision as of 14:17, 25 June 2013

Back to the adding wet deposition tutorial

Task

You were asked to

Add in wet deposition for BOB, using the following values:

for the 1st dissociatation for the 1st dissociatation for the 2nd dissociatation for the 2nd dissociatation

Solution

Changes to ukca_chem_strattrop.F90

First, you will need to increase the value of ' from 29 to 30'.

Then, you will need to change the 0 in the 7th column of the BOB' entry in the ' array to 1, e.g.

chch_t( 77,'BOB       ',  1,'TR        ','          ',  0,  1,  0)   & !  77

Finally, you will need to add the following to the end of the ' array

0.2100E+06, 0.8700E+04, 0.2000E+02, 0.0000E+00, 0.0000E+00, 0.0000E+00 &   !   30  BOB

(remembering to add a comma to the end of the preceding line).

Hand-edit

You will need to make a hand-edit containing

ed CNTLATM<<\EOF
/JPDW/
d
i
 JPDW = 30,
.
w
q
EOF

and add this to the UMUI in the Model Selectiom → Input/Output Control and Resource → User hand edit files by placing it in the table and putting a Y in the Include Y/N column.

An example hand-edit can be found at

/home/ukca/hand_edits/VN8.2/Tutorial/Task8.1_incr_JPvals.ed

Output

If you view the BOB (34065) field in the pb after these changes, and compare it to the equivalent field after the previous Task (7.1) you will see that there are some difference. However, we will not be able to quantify these differences correctly until Tutorial 9: Adding new UKCA diagnostics.

Worked Solution


Written by Luke Abraham 2013