This repository contains the Jupyter Notebooks created for the ocean component of the KSA 206 course. Embedded within the notebooks are questions and exercises for the students to answer.
The Working with CoPilot notebook provides some recommendations and showcases an example in which we start with absolutely nothing, and with the adequate prompts we get CoPilot to plot us a climatology of NSIDC, a time series annual averages of sea ice extent, and monthly cycle for each year. It shows how bad prompting returns funky results, and how you can iterate to finally get what you where asking.
I think the best way to work in class will be with personal computers. In order to do so, students need to set up a python working environment, which is easily done in three steps:
- Install and editor - I've chose VS Code which is the same thing they use in KIT 101 and I like it a lot.
- Install miniconda
- Install an environment already prepared that you can download from this repository (
ksa206.yml). Not to fear, this is done by copy pasting one line of code.
Complete instructions for setting up a python working environment in a computer (Mac, Linux and Windows) can be found in the Wiki
The tables below summarize the content created for the ocean's component of this course. The jupyter notebooks for each class can be downloaded by each student and ran interactively. Note that they require a conda environment with specific libraries installed (see Requirements to run these notebooks).
| Week | Topic | Learning goals/activites |
|---|---|---|
| 1 | Introduction | - Installing VSCode/Miniconda/environment in personal computer - Setting up ARE - Going through introduction to jupyter notebooks (code/markdown cells), python syntax, built-in functions, etc. - Introduction to main libraries used in the course ( numpy, xarray, matplotlib, 'cartopy`, etc) |
| 2 |
| Week | Topic | Learning goals/activities |
|---|---|---|
| 4 | CTDs | - Introducing MISO voyage and how to sample CTD - Opening a CTD profile and reading the metadata (location, time, sensors). Comparison with bottle data. - Make a TS diagram from multiple CTDs. Try colouring the TS with different variables and try water mass identification. - Build I09S cross section from interpolation of CTDs and plot (t, s, oxygen). Compare with past occupations downloaded from EasyOcean. - Identify the AABW layer and look at contraction across ocupations. Calculate average temperature, salinity and oxygen content in the AABW layer. |
| 5 | EN.4.2.2 Satellite observations |
- Look at number of observations per year and seasonal distribution - Plot surface variables/zonal mean/Hovmoller of depth/time - Calculate trends at the surface, at the bottom, and in the zonal mean - Understanding satellite altimetry and the geoid, plotting absolute dynamic topography and seasonal anomalies, compare with a snapshot - Introducing geostrophic balance, calculating surface currents, interpret what the balance is through visualising SSH contours + current vectors |
| 6 | Introduction to ACCESS-OM2 | - Overview of ACCESS-OM2 (components, forcing, etc) - Compare ACCESS-OM2 against I09S (interpolating obs to model grid) -Caculating a transport streamfunction and interpreting it. Drake Passage transport, gyre transport. - Meridional Overturning Circulation |
| 7 | Future projections experiment | - Overview of a simulation of EOF changes in SSP585 scenario - Look at the forcing fields used - Changes in the open ocean: surface temperatures and salinity, bottom temperatures and salinity, changes to the circulation. Changes on the shelf: cross sections at some locations, look at the Antarctic Slope Current. |
| Week | Topic | Learning goals/activities |
|---|---|---|
| 8 |
- KIT101 (after zoom with Lawrence): this is a programming course the students will have done before KSA206. It is a course in
pythonfocused on students acquiring the programming logic, understanding algorithms, code structure, functions, etc. They don't use any libraries or conda - it is core python skills.