arXiv Science⌕ Search

arXiv subjects

Angus Gibson

Publications and source records attributed to Angus Gibson.

2 recordsLinked to original sources

COSIMA Cookbook: a community-driven resource for ocean and sea-ice modelling science

The COSIMA Cookbook is an open educational resource for analysing ocean and sea-ice model output in Jupyter notebooks. It has been developed by the Consortium for Ocean--Sea Ice Modelling in Australia (COSIMA) as a community resource for researchers, students, and practitioners working with large gridded datasets, especially output from the ACCESS ocean--sea ice model configurations. The Cookbook is organised around a gastronomy theme: "Cooking Tutorials" teach generic, transferable techniques for handling model output, while "Easy Recipes", "Advanced Recipes" and "Regional Specialties" are self-contained notebooks that show how to perform concrete diagnostics and analyses. Along the way, the notebooks demonstrate open-source tools for the scientific analysis of large data, including Intake catalogues, Xarray, Dask, xgcm, xESMF, eofs, Parcels, matplotlib and Cartopy. The Cookbook addresses the steep entry cost of analysing climate model output: it packages expert, often tacit, knowledge into complete, well-documented and reusable workflows, in the same medium in which researchers actually work. It is developed openly on GitHub, is published as a documentation website, and is continuously reviewed and extended by its community through pull requests and regular hackathons. The easy access to data and analysis it provides has contributed to the international adoption of ACCESS ocean and sea-ice model configurations, and has facilitated well over 100 peer-reviewed papers and more than 20 PhD projects.

physics.ao-ph↗

Speeding up Python-based Lagrangian Fluid-Flow Particle Simulations via Dynamic Collection Data Structures

Array-like collection data structures are widely established in Python's scientific computing-ecosystem for high-performance computations. The structure maps well to regular, gridded lattice structures that are common to computational problems in physics and geosciences. High performance is, however, only guaranteed for static computations with a fixed computational domain. We show that for dynamic computations within an actively changing computational domain, the array-like collections provided by NumPy and its derivatives are a bottleneck for large computations. In response, we describe the integration of naturally-dynamic collection data structures (e.g. double-linked lists) into NumPy simulations and \textit{ctypes}-based C-bindings. Our benchmarks verify and quantify the performance increase attributed to the change of the collection data structure. Our application scenario, a Lagrangian (oceanic) fluid-flow particle simulation within the \textit{Parcels} framework, demonstrates the speed-up yield in a realistic setting and demonstrates the novel capabilities that are facilitated by optimised collection data structures.

physics.comp-ph↗