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

From UKCA
Line 59: Line 59:
   
 
Save this file and use it in your job in '''Model Selection → Atmosphere → STASH → User-STASHmaster files. Diags, Progs & Ancills'''.
 
Save this file and use it in your job in '''Model Selection → Atmosphere → STASH → User-STASHmaster files. Diags, Progs & Ancills'''.
  +
  +
An example file can be found at
  +
  +
/home/ukca/userprestash/VN8.2/Tutorial/Task5.1_emiss_TCMIM_Aero.presm
   
 
Now go to '''Model Selection → Atmosphere → STASH → Initialisation of User Prognostics''' and set the '''Option''' column for this field to '''2'''.
 
Now go to '''Model Selection → Atmosphere → STASH → Initialisation of User Prognostics''' and set the '''Option''' column for this field to '''2'''.

Revision as of 14:21, 20 June 2013

Back to the adding new chemical emissions tutoroal

Task

You were asked to

In the

/work/n02/n02/ukca/Tutorial/Task5.1

directory on HECToR, or the

/projects/ukca/Tutorial/Task5.1

directory on MONSooN, there is the file Emissions_of_ALICE.nc which is a 0.5x0.5 degree resolution surface emission field. You should regrid this file to N96, and then make a new surface emissions ancillary file with this as slot 316. You should then use this new file, and the corresponding user STASHmaster file, in your UMUI job.

Solution

Before you start you should make a new directory to hold your files.

Regrid your emissions dataset

Open the Emissions_of_ALICE.nc file using Xconv. Select the field (called "Emissions of ALICE in kg/m^2/s") and click on the Trans button on the top right of the GUI. You should then

  1. Select area weighted interpolation (the second option down)
  2. You should then scroll down this panel and
    1. Set the number of columns to 192
    2. Set the first longitude to 0.000000
    3. Set the column spacing to 1.875000
    4. Set the number of rows to 145
    5. Set the first latitude to -90.000000 (i.e. the South Pole)
    6. Set the row spacing to 1.250000

Now click Apply. The window should read

Area weighted interpolation from 720x360 Regular grid to 192x145 Regular grid

and the nx and ny values should read 192 and 145. Now output this field to a netCDF file in your directory.

An example of what this file should look like can be found at

/work/n02/n02/ukca/Tutorial/Task5.1/solution/Task5.1_Emissions_of_ALICE_N96.nc

on HECTor and at

/projects/ukca/Tutorial/Task5.1/solution/Task5.1_Emissions_of_ALICE_N96.nc

on MONSooN.

Make your new STASH item

You are using the file

/home/ukca/userprestash/VN8.2/emiss_TCMIM_Aero.presm

on PUMA to define your emissions. Take a copy of this file and add the following entry just after field 315:

#
1|    1 |    0 |  316 |ALICE surf emissions                |
2|    2 |    0 |    1 |    1 |    5 |   -1 |   -1 |    0 |    0 |    0 |    0 |
3| 000000000000000000000000000000 | 00000000000000000001 |    3 |
4|    1 |    0 | -99  -99  -99  -99  -99  -99  -99  -99  -99  -99 |
5|    0 |  546 |    0 |  129 |    0 |    0 |    0 |    0 |    0 |
#

Save this file and use it in your job in Model Selection → Atmosphere → STASH → User-STASHmaster files. Diags, Progs & Ancills.

An example file can be found at

/home/ukca/userprestash/VN8.2/Tutorial/Task5.1_emiss_TCMIM_Aero.presm

Now go to Model Selection → Atmosphere → STASH → Initialisation of User Prognostics and set the Option column for this field to 2.


Written by Luke Abraham 2013