Meridia Insight Science Breakthroughs Knowledge

A shared notebook library helped carry ocean-model research into 100 papers

Ocean models can generate terabytes of data; the COSIMA Cookbook turns expert know-how into runnable lessons that have supported more than 100 papers.

100+ papers and 20+ PhDs: the Cookbook helped make complex ocean-model output usable.

More than 100 peer-reviewed papers and over 20 PhD projects: the COSIMA Cookbook reports helping make that research possible by lowering a barrier that often comes before the science itself. Ocean and sea-ice models produce immense, intricately structured datasets. To use them, a researcher must find the right files, understand their conventions, work within the computing environment that holds them, and turn a question into a sound analysis. The Cookbook gathers that practical knowledge into open, runnable notebooks.

This is not a paper announcing a new model or a startling new result about the changing ocean. It describes an often invisible piece of research infrastructure: the shared instructions that help people actually use scientific data. In a field where model output can reach terabyte scale, a clear path from data to defensible analysis can determine who gets to participate—and how much time is spent rebuilding familiar methods rather than asking new questions.

The resource was built by the Consortium for Ocean–Sea Ice Modelling in Australia, known as COSIMA, and focuses especially on output from the ACCESS ocean–sea ice models. Its notebooks are published as a browsable documentation website and maintained in the open on GitHub. The authors say easier access to the models and their analysis workflows has helped drive international adoption, including beyond physical oceanography into fields such as marine ecology.

Figure 1: The COSIMA Cookbook documentation website, showing the browsable Sphinx-based landing page used to navigate tutorials and recipes. The website lives at https://cosima-recipes.readthedocs.io.
Figure 1: The COSIMA Cookbook documentation website, showing the browsable Sphinx-based landing page used to navigate tutorials and recipes. The website lives at https://cosima-recipes.readthedocs.io. Source: Navid C. Constantinou, Julia Neme

The Science

The Cookbook began not as a polished teaching platform but as a loose collection of scripts and Jupyter notebooks, some of them broken. Jupyter notebooks combine executable code, written explanation, and visual results in one document. That makes them useful both as a laboratory bench and as a way to show someone else how an analysis was done. During the first COVID-19 lockdown in 2020, COSIMA members held an online hackathon to repair and update the material. Workshops and further hackathons gradually turned that effort into a curated, community-maintained resource.

The paper’s central problem is familiar across computational science: there is a gap between learning what a software package can do and knowing how to complete a real analysis. A tool such as Xarray can help work with labelled, multidimensional data, but its general documentation cannot fully explain how to locate a particular model’s output, interpret its metadata, or account for the grid conventions used in a specific ocean model. New researchers may need fluency in Python, high-performance computing, and oceanographic methods before they can even begin testing a scientific idea.

The Cookbook tackles that gap by showing workflows end to end. Its authors describe the resource as a learning tool, but also as a way of preserving the judgement and practical knowledge that experienced users otherwise pass along informally. A notebook can reveal not only which commands to run, but why a particular operation is needed, what assumptions are being made, and what a plausible output looks like.

Its organization uses a deliberately approachable metaphor. “Cooking Tutorials” teach general skills, such as loading model data, working with labelled arrays, plotting, and using shared data catalogues. “Easy Recipes” then provide manageable examples of complete analyses. “Advanced Recipes” take on more elaborate diagnostics, while “Regional Specialties” address regional model configurations. The metaphor is more than decoration: it gives newcomers a route through material that could otherwise look like a wall of code.

Figure 1: The COSIMA Cookbook documentation website, showing the browsable Sphinx-based landing page used to navigate tutorials and recipes. The website lives at https://cosima-recipes.readthedocs.io.
Figure 1: The COSIMA Cookbook documentation website, showing the browsable Sphinx-based landing page used to navigate tutorials and recipes. The website lives at https://cosima-recipes.readthedocs.io. Source: Navid C. Constantinou, Julia Neme

The technical examples span much of the work involved in ocean-model analysis. Intake catalogues help users find and load datasets. Xarray and Dask help handle large, multidimensional data, including operations that can be carried out in parallel. Other notebooks use xgcm to work with variables stored at different positions on a model’s grid, xESMF to remap data between grids, and eofs for empirical orthogonal function analysis—a technique for identifying dominant patterns of variation. A particle-tracking example uses Parcels; maps and other visualizations use matplotlib and Cartopy.

That list matters because model output is not simply a tidy table waiting to be plotted. Ocean models represent changing conditions across space and time, and their numerical grids can place different variables at different locations. Tools can make such data manageable, but the researcher still needs to know how to combine them appropriately. The Cookbook puts those combinations in context, in notebooks users can read, run, and adapt.

What They Found

The paper is primarily a description of a community resource, not a controlled evaluation of educational outcomes. It does not report a trial comparing students who used the Cookbook with students who did not, or quantify how many hours a particular workflow saves. Its clearest evidence of reach is the authors’ account of research activity: the Cookbook has facilitated well over 100 peer-reviewed papers and more than 20 PhD projects to completion.

Those figures should be read as a measure of use and contribution, not as proof that the notebooks alone caused each paper or degree. Research depends on people, data, computing resources, funding, and models as well as documentation. Still, the reported scale shows that the resource is not merely a classroom demonstration. It has become part of the working landscape for a substantial body of research using ACCESS ocean and sea-ice model configurations.

The authors also point to international adoption of those configurations. The Cookbook’s influence has reached adjacent disciplines: they cite work using high-resolution Southern Ocean output to study variables relevant to marine ecosystems (Fierro-Arcos et al., 2023). In practical terms, a shared analysis pathway can make a model useful to scientists whose expertise lies elsewhere—for example, researchers interested in ecological questions who need ocean conditions as part of their evidence.

Figure 1: The COSIMA Cookbook documentation website, showing the browsable Sphinx-based landing page used to navigate tutorials and recipes. The website lives at https://cosima-recipes.readthedocs.io.
Figure 1: The COSIMA Cookbook documentation website, showing the browsable Sphinx-based landing page used to navigate tutorials and recipes. The website lives at https://cosima-recipes.readthedocs.io. Source: Navid C. Constantinou, Julia Neme

A key design choice is to keep tutorial material distinct from worked examples. Tutorials teach techniques that can travel across research questions. Recipes demonstrate how those techniques fit together for a specific diagnostic. The distinction helps users learn foundational skills without pretending that every research task is identical, and gives experienced scientists a concrete starting point to modify.

The notebooks are also intended to be self-contained and documented. That is a higher bar than posting a short code fragment: a useful workflow needs enough context that another person can understand its inputs, decisions, and outputs. The community’s contributor guidance and review conventions encourage new notebooks to be written in a style that can serve more than their original authors. Regular hackathons provide a venue to revisit older material as code and practices change.

That process makes the Cookbook a form of peer scrutiny for computational work. The paper notes that analysis code often receives less review than the manuscript built on it. A public notebook can expose methodological choices to colleagues, who may spot an assumption, test the workflow, or reuse it. It does not guarantee correctness, but it makes the work more inspectable than an undocumented script tucked away on an individual computer.

Why This Changes Things

Access to data is not the same as access to science. A model archive may be technically open while remaining practically difficult to use. If the user must first decipher file structures, secure computing access, and reconstruct standard diagnostics, the cost of entry can be high enough to steer projects toward people who already know the system. A well-maintained cookbook cannot remove every obstacle, but it can turn some of that private expertise into shared infrastructure.

The problem is especially acute for high-resolution simulations. The paper says many recipes use output datasets of order terabytes—too large to distribute or mirror conveniently. That constraint means the Cookbook is not a magic download that makes the data portable to every laptop. Its workflows are designed to run in an environment with access to shared data holdings and computing resources, including Australia’s National Computational Infrastructure. The documentation helps users navigate that environment, while the underlying infrastructure remains essential.

The resource’s broader contribution is therefore organizational as much as technical. It gives a scientific community a way to capture procedures in version-controlled notebooks, make them visible online, and improve them through contributions from many institutions. That model can matter in other fields whose researchers share large datasets and specialized workflows. A community’s knowledge is easier to build on when it is written down in the same place where people do the work.

There is also a timely argument in the paper about AI-assisted coding. Generative tools can produce code quickly, but code that runs is not automatically code that answers a scientific question correctly. The authors suggest that domain-specific recipes can give such tools useful context; just as important, people who have learned the reasoning behind a workflow are better equipped to assess AI-generated code. Knowing where assumptions enter and what a credible result should look like is a safeguard against mistaking plausible-looking output for sound analysis.

This is a grounded claim, not a promise that notebooks will solve the problems of computational reproducibility. A notebook can become outdated, depend on inaccessible data, or fail when software changes. Its value depends on maintenance, review, and clear communication. The Cookbook’s open development and recurring hackathons are attempts to meet that ongoing obligation rather than treating publication as the finish line.

What’s Next

The next challenge is keeping the resource useful as models, libraries, and computing systems evolve. A notebook that once worked may break after a software update; a new model configuration may introduce conventions that older examples do not cover. The community’s approach—public contributions, review, and periodic collaborative maintenance—offers a practical response, but it requires sustained time and participation.

There is room, too, for more systematic evaluation. The paper reports substantial research uptake, but does not quantify changes in training time, error rates, or how many users adapt a recipe successfully. Future assessments could ask which parts of the learning path help most, where beginners still get stuck, and how well the workflows transfer to models beyond ACCESS. Those questions would help separate the Cookbook’s broad promise from the particular features that deliver the most value.

The data-access limitation also points to a wider issue: reusable code is only one part of reproducible science. Researchers need access to data, computing, software environments, and enough documentation to understand the results. The Cookbook offers a strong example of how to make analysis knowledge shareable, while also making visible the infrastructure that must surround it.

Its largest lesson may be that scientific progress often depends on unglamorous work between the model run and the published result. Someone has to explain how to find the data, what its grid means, and how to turn it into a trustworthy diagnostic. By making that expertise public and teachable, the COSIMA community has helped more researchers reach the questions that matter: how the ocean and sea ice behave, how they are changing, and what those changes mean for ecosystems and people.

The Cookbook’s contribution is not a new analysis library; it is a reusable scientific and educational resource that exposes complete, well-documented workflows in the same medium in which many researchers explore data and communicate methods.

Comments (0)

No comments yet. Be the first to share your thoughts.