Difference between revisions of "UKCA Chemistry and Aerosol UMvn13.0 Tutorial 13"

From UKCA
Line 60: Line 60:
 
== Exercise 2: Plot the regional time evolution of total column ozone ==
 
== Exercise 2: Plot the regional time evolution of total column ozone ==
   
<gallery widths=600px heights=200px>
+
<gallery widths=500px heights=300px>
 
Image:Tco_cf_002.png|Total Column Ozone timeseries for September values over the south pole produced using cf-python.
 
Image:Tco_cf_002.png|Total Column Ozone timeseries for September values over the south pole produced using cf-python.
 
Image:Tco_iris_002.png|Total Column Ozone timeseries for September values over the south pole produced using Iris.
 
Image:Tco_iris_002.png|Total Column Ozone timeseries for September values over the south pole produced using Iris.

Revision as of 16:24, 4 November 2022

UKCA Chemistry and Aerosol Tutorials at UMvn13.0

Difficulty HARD
Time to Complete 2 or more hours
Video instructions

What you will learn in this Tutorial

In this tutorial you will learn how to plot and process UKCA data using the Iris and cf python packages. Example notebooks are provided using both packages, which can be also be viewed here:


and can be found in the

Tutorials/UMvn13.0/notebooks

directory on your virtual machine.

You should work through the notebook to see how the plots are generated. Also compare the different methods between cf and Iris - are some thing easier or harder to do using a particular package. At the end of each notebook are some suggested examples which you should think about and complete.

Observations

This tutorial also makes use of the Bodeker Scientific version 3.4.1 TCO dataset. For ease of use this has been processed from annual files into a single file using the following commands:

for i in `ls *.nc`; do echo $i; ncks -O --mk_rec_dmn time $i $i; done
for i in `ls *.nc`; do echo $i; ncatted -O -a created,global,d,, $i; done
for i in `ls *.nc`; do echo $i; ncatted -O -a units,longitude,o,c,degrees_east $i; done
for i in `ls *.nc`; do echo $i; ncatted -O -a units,latitude,o,c,degrees_north $i; done
ncrcat BSFilledTCO_V3.4.1_????_Monthly.nc ../BSFilledTCO_V3.4.1_Monthly.nc

We would like to thank Bodeker Scientific, funded by the New Zealand Deep South National Science Challenge, for providing the combined NIWA-BS total column ozone database.

Exercise 1: Plot zonal-mean total column ozone

Using the *_toz01.ipynb files for cf and for Iris


Further exercises

When you have completed this notebook, consider the following exercises to try:

  1. Plot members from the CCMI2022 ensemble
  2. Produce a plot of the ensemble mean of the 3 ensemble members. How would you go about calculating the ensemble mean?


Exercise 2: Plot the regional time evolution of total column ozone

Using the *_toz02.ipynb files for cf and for Iris


Further exercises

When you have completed this notebook, consider the following exercises to try:

  1. Try plotting different months and regions, e.g. March for 60N to 90N
  2. Try plotting annual mean TCO from 60S to 60N. How would you go about producing an annual mean of each year?

Checklist


UKCA Chemistry and Aerosol Tutorials at UMvn13.0


Written by Luke Abraham 2022.