COSIMA Cookbook
This repository is a Cookbook of Recipes 👩🏽🍳 👨🏻🍳.
A collection of cooking lessons and recipes for analysing ocean and sea ice model output produced by the Consortium for Ocean-Sea Ice Modelling in Australia (COSIMA).
We explain: a “cooking tutorial” here is a tutorial that teaches you something generic (e.g. about plotting or loading data); a “recipe” is an example of an analysis of some ocean-sea ice model output or some ocean-related observational datasets.
Both “cooking tutorials” and “recipes” come in self-contained and well-documented Jupyter notebooks.
All the tutorials and the recipes combined form a cookbook 📒!
Most recipes use output from the ACCESS-OM2 model, while some also use results from configurations of the Modular Ocean Model 6 (MOM6) and remote sensing observations.
To access the data used in these recipes you need an account with the Australian-based National Computational Infrastructure (NCI).
To get started, clone this repository in your local space on one of the NCI HPC machines so you can have access to model output. You should then be able to run these recipes (i.e., example analyses) through an Australian Research Environment (ARE) JupyterLab session running python or via any other way you might want to run a Jupyter notebook on an NCI HPC machine. You need to join projects xp65, ik11, cj50, av17 and ol01 to run the recipes and access the data analysed.
If you plan to use an ARE session, then remember to include the projects in the Storage line: gdata/xp65+gdata/ik11+gdata/cj50+gdata/ol01+gdata/av17 as well as any of your own project you need access to. In Module directories, set /g/data/xp65/public/modules and in Modules set conda/analysis3. Use a Compute Size of large or greater.
The recipes are run every week on Gadi by the COSIMA recipes workflow maintained by ACCESS-NRI. Check the recipe testing dashboard to see which recipes currently run successfully.
If you have never used the NCI see these first steps instructions and getting started with ARE.
Contents
-
The starting point should be all the Basic Tutorials:
-
The Introduction: loading, slicing, dicing model output tutorial is the starting point.
All recipes load model output using the ACCESS-NRI Intake catalog, available in the conda/analysis3 environments on xp65. This tutorial outlines the basic philosophy of the catalog and how to find and load model variables.
Recipes use a mix of ACCESS-OM2 (MOM5) and ACCESS-OM3 (MOM6) output, which use different grids. Understanding model grids: MOM5’s B-grid and MOM6’s C-grid explains the B-grid (MOM5) and the C-grid (MOM6), where each variable sits on these grids, and the basics of using xgcm to work with them.
Finally, Maps with Cartopy shows how to turn model output into publication-quality maps with cartopy. It covers map projections (including polar views), adding land and coastlines, and correctly plotting the model’s curvilinear grid in the Arctic.
After going through the Basic Tutorials, feel free to browse some of the Advanced ones:
Recipes
The main part of this cookbook: All the recipes!
These are Jupyter notebooks for either simple or not-so-simple diagnostics and analyses. All recipes are aimed to be self-contained and well-documented and explained.
If you can find a recipe that suits your purposes, then this is the best place to start.
-
Easier/simpler recipes; a good place to start after you’ve been through the Cooking Tutorials
-
More elaborate/advanced recipes.
-
Recipes for regional configurations.
Conditions of use for ACCESS-OM2 output
We request that users of ACCESS-OM2 model code or output consider:
-
citing Kiss et al. (2020) (http://doi.org/10.5194/gmd-13-401-2020)
-
including an acknowledgement such as the following:
The authors thank the vibrant community of the Consortium for Ocean-Sea Ice Modelling in Australia (COSIMA; http://www.cosima.org.au) for making the ACCESS-OM2 suite of models available at https://github.com/COSIMA/access-om2.
-
let us know of any publications which use these models or data so we can add them to our list.
Contributing
Have you made a recipe for analysing something that is not already included in this cookbook?
You are more than welcome to share it and include it in the cookbook!
Consider contributing your recipe back to the repository.
We are always delighted to expand the cookbook with more recipes.
If the process of contributing to the repository sounds a bit intimidating to you, rest assured that we will guide you and help you with submitting your contribution.
To make a contribution follow the steps laid out in the beginner’s guide on how to contribute and the wiki. If they sound intimidating then don’t worry!
Just raise an issue explaining briefly what the contribution you want to make is and we’ll help out with the process!
Contributors to the COSIMA Cookbook are added as authors of the Zenodo software record, which archives each release of the repository with its own citable DOI.
Hence, users who put together a pull request for a new contribution should ensure that the pull request also modifies the .zenodo.json file to include their name, affiliation, and ORCID.
Citation
If you use a recipe from the Cookbook for your research or teaching, or even if you based your analysis on one of the recipes, please cite the COSIMA Cookbook paper:
Constantinou, N. C., Neme, J., et al. (2026). COSIMA Cookbook: a community-driven resource for ocean and sea-ice modelling science. arXiv:2611.30182. doi:10.48550/arXiv.2611.30182
Citing the paper is the best way to acknowledge the many contributors to the Cookbook and to help us demonstrate its impact to funders. Machine-readable citation metadata is provided in CITATION.cff; on GitHub you can also use the “Cite this repository” button.
评论