{"id":29244072,"url":"https://github.com/cosima/cosima-recipes","last_synced_at":"2025-07-03T21:04:04.099Z","repository":{"id":43893124,"uuid":"152675106","full_name":"COSIMA/cosima-recipes","owner":"COSIMA","description":"A cookbook 📒 of recipes (i.e., examples) for analysing ocean and sea ice model output. 👩🏽‍🍳🌊👨🏻‍🍳","archived":false,"fork":false,"pushed_at":"2025-06-25T03:31:23.000Z","size":130209,"stargazers_count":53,"open_issues_count":66,"forks_count":70,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-06-25T18:46:19.583Z","etag":null,"topics":["climate-analysis","climate-model","climate-science","jupyter","ocean-modelling","python","sea-ice"],"latest_commit_sha":null,"homepage":"https://cosima-recipes.readthedocs.io","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/COSIMA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":".zenodo.json"}},"created_at":"2018-10-12T01:09:50.000Z","updated_at":"2025-06-25T03:31:26.000Z","dependencies_parsed_at":"2023-10-23T23:45:12.316Z","dependency_job_id":"84ba9e3a-7909-4b79-bae7-069195b476f9","html_url":"https://github.com/COSIMA/cosima-recipes","commit_stats":{"total_commits":400,"total_committers":47,"mean_commits":8.51063829787234,"dds":0.5625,"last_synced_commit":"2ed012f9749ab1c8db89a9d63136727f9a15c712"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/COSIMA/cosima-recipes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COSIMA%2Fcosima-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COSIMA%2Fcosima-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COSIMA%2Fcosima-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COSIMA%2Fcosima-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/COSIMA","download_url":"https://codeload.github.com/COSIMA/cosima-recipes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/COSIMA%2Fcosima-recipes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262128745,"owners_count":23263340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["climate-analysis","climate-model","climate-science","jupyter","ocean-modelling","python","sea-ice"],"created_at":"2025-07-03T21:01:52.158Z","updated_at":"2025-07-03T21:04:04.085Z","avatar_url":"https://github.com/COSIMA.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/COSIMA/logo/blob/master/png/logo_word.png\" width=\"800\"/\u003e\n\u003cbr/\u003e \u003cbr/\u003e\n\n\u003ca href=\"https://cosima-recipes.readthedocs.io/en/latest\"\u003e\n    \u003cimg alt=\"latest docs\" src=\"https://img.shields.io/badge/docs-latest-blue.svg\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://doi.org/10.5281/zenodo.14353852\"\u003e\n    \u003cimg src=\"https://zenodo.org/badge/DOI/10.5281/zenodo.14353852.svg\" alt=\"DOI\"\u003e\n\u003c/a\u003e\n\n# COSIMA Cookbook\n\nThis repository is a Cookbook of Recipes 👩🏽‍🍳 👨🏻‍🍳.\nA collection of recipes and tutorials for analysing ocean and sea ice model output produced by the [Consortium for Ocean-Sea Ice Modelling in Australia (COSIMA)](http://cosima.org.au/).\n\nWe explain: a \"recipe\" here is an example of an analysis of some ocean-sea ice model output or some ocean-related observational datasets.\nEach \"recipe\" comes in a self-contained and well-documented Jupyter notebook.\nAll the recipes combined form a cookbook 📒!\n\nMost recipes use output from the [ACCESS-OM2 model](https://doi.org/10.5194/gmd-13-401-2020), while some also use results from configurations of the [Modular Ocean Model 6 (MOM6)](https://github.com/mom-ocean/MOM6) and remote sensing observations.\n\nTo access the data used in these recipes you need an account with the Australian-based [National Computational Infrastructure (NCI)](https://nci.org.au/).\n\nTo **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)](https://are.nci.org.au/) 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 _hh5_, _xp65_, _ik11_, _cj50_ and _ol01_ to run the recipes and access the data analysed.\n\nIf you plan to use an ARE session, then remember to include the projects in the _Storage_ line: `gdata/xp65+gdata/ik11+gdata/cj50+gdata/hh5+gdata/ol01` as well as any of your own project you need access to. In _Module directories_, set `/g/data/hh5/public/modules` and in _Modules_ set `conda/analysis3`. Use a _Compute Size_ of `large` or greater.\n\nIf you have never used the NCI see these [first steps instructions](https://access-hive.org.au/getting_started/) and [getting started with ARE](https://access-hive.org.au/getting_started/are/).\n\n### Contributing\n\nHave you made a recipe for analysing something that is not already included in this cookbook?\nYou are more than welcome to share it and include it in the cookbook!\nConsider **contributing your recipe back to the repository**.\nWe are always delighted to expand our cookbook with more recipes.\nIf 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.\n\nTo make a contribution follow the steps laid out in the [beginner's guide on how to contribute](\nhttps://cosima-recipes.readthedocs.io/en/latest/contributing.html). If they sound intimidating then don't worry!\nJust raise [an issue](https://github.com/COSIMA/cosima-recipes/issues) explaining briefly what the contribution you want to make is and we'll help out with the process!\n\nContributors to the COSIMA Cookbook are added to the [**citable DOI**](https://github.com/COSIMA/cosima-recipes?tab=readme-ov-file#citation) entry associated with the repository.\nHence, 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 affiliation details.\n\n## Contents\n\n### [Tutorials](https://cosima-recipes.readthedocs.io/en/latest/tutorials.html)\n\nThe starting point should be the [COSIMA_CookBook_Tutorial](https://cosima-recipes.readthedocs.io/en/latest/Tutorials/COSIMA_CookBook_Tutorial.html) that showcases how we can use Intake catalog to interrogate about available output and load them. The [ACCESS-NRI_Intake_Catalog](https://cosima-recipes.readthedocs.io/en/latest/Tutorials/ACCESS-NRI_Intake_Catalog.html) tutorial outlines the basic philosophy of the Intake catalog and how to transition from using the deprecated `cosima_cookbook`-way of loading variables. (If this 👉 `cosima_cookbook.getvar` means nothing to you then don't worry, it's already deprecated and you are better off not learning what that is in the first place!)\n\nAlso included here are some other tutorials, related to techniques (e.g., [Making_Maps_with_Cartopy.ipynb](https://cosima-recipes.readthedocs.io/en/latest/Tutorials/Making_Maps_with_Cartopy.html)) or tools (e.g., [Model Agnostic Analysis](https://cosima-recipes.readthedocs.io/en/latest/Tutorials/Model_Agnostic_Analysis.html)).\n\n\n### [Recipes](https://cosima-recipes.readthedocs.io/en/latest/recipes.html)\nThe main part of this cookbook: All the recipes! These are Jupyter notebooks for either simple or not-so-simple diagnostics and analyses. All notebooks are aimed to be self-contained and  well-documented and explained.\nIf you can find a recipe that suits your purposes, then this is the best place to start.\n\n\n### ACCESS-OM2-GMD-Paper-Figs\nJupyter notebooks to reproduce (as far as possible) the figures from the [ACCESS-OM2 model announcement paper (*GMD*, 2020)](https://doi.org/10.5194/gmd-13-401-2020). These notebooks are mostly uncommented, but they should be functional. They are intended to demonstrate methods to undertake the calculations used in the paper.\n\n## Loading model output: use _intake_; avoid **deprecated** `cosima_cookbook`\n\nWe are in the process of transitioning recipes from using the **deprecated** [cosima-cookbook](https://github.com/COSIMA/cosima-cookbook) infrastructure to load model output to using an [_intake catalogue_](https://cosima-recipes.readthedocs.io/en/latest/Tutorials/ACCESS-NRI_Intake_Catalog.html). That said, you will find recipes that use either method to access model data.\n\nWe strongly urge you to transition to _intake catalogue_ and (pretty please 🥺) help us with converting all the recipes to using that!\n\n## Conditions of use for ACCESS-OM2 output\n\nWe request that users of ACCESS-OM2 model [code](https://github.com/access-nri/access-om2) or output consider:\n1. citing Kiss et al. (2020) ([http://doi.org/10.5194/gmd-13-401-2020](http://doi.org/10.5194/gmd-13-401-2020))\n2. including an acknowledgement such as the following:\n\n   *The authors thank the vibrant community of the Consortium for Ocean-Sea Ice Modelling in Australia (COSIMA; [http://www.cosima.org.au](http://www.cosima.org.au)) for making the ACCESS-OM2 suite of models available at [https://github.com/COSIMA/access-om2](https://github.com/access-nri/access-om2).*\n\n3. let us know of any publications which use these models or data so we can add them to [our list](https://scholar.google.com/citations?hl=en\u0026user=inVqu_4AAAAJ).\n\n\n## Citation\n\nIf you use a recipe from the Cookbook for your research or teaching, or have based your analysis on one of the recipes, we would be grateful if you could cite:\n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14353852.svg)](https://doi.org/10.5281/zenodo.14353852)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosima%2Fcosima-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosima%2Fcosima-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosima%2Fcosima-recipes/lists"}