Introduction#

We are able to virtually simulate the continuous processes of ocean and climate models in discrete and finite resolutions, however, limited in the fineness of these resolutions due to inherent barriers in computational resources and time. In an effort to predict the behavior of high-resolution simulations but at low-resolution settings to adjust for technological constraints, we ultimately end up facing issues with errors that surface from continuous discretizations in resolution, particularly in the loss of underlying forcings that occur on higher scales. Despite this, subgrid parameterizations provide us with the means to resolve those higher-level effects that are lost on the finite grids of the ocean and climate models that we utilize. By employing machine learning techniques we can build improved low-resolution simulations to more fittingly exemplify the processes occurring in higher-resolution settings, bringing us closer to approximating the grand continuous system of the ocean and climate.

The purpose of this book is to serve as a guiding source of documentation to explore and reproduce the results from the paper “Benchmarking of Machine Learning Ocean Subgrid Parameterizations in an Idealized Model” [Ross et al., 2022] in an efficient and transparent broken-down series of formative, tutorial-based parts. We will open the way for readers to recreate these results using pyqg, an open-source Python framework for running quasi-geostrophic ocean simulations. We discuss running unique high-resolution simulations and working with existing and generated datasets. This extends to applying filters and coarse-graining techniques to generate distinct low-resolution datasets and retrieving preexisting datasets from the cloud. We then train various fully convolutional neural networks (FCNNs) on these low-resolution datasets to predict desired subgrid parameterizations and conclusively measure learning performance against each neural network strata based on the numerous metrics employed within the paper.

This book was made as part of M2LInES for team members to be able to set up their own environments to replicate and further build upon the findings from the paper, more seamlessly and efficiently relate this work into other overlapping or related projects, and even better collaborate as peers with one another.