This Project Pythia Cookbook explores the fundamental science and practice of radiative feedback analysis applied to climate model output.
There are several well-established methods for quantifying radiative feedbacks from climate model output, and these have been widely used in the scientific literature. However, a comprehensive set of tutorials representing best practices for implementing these methods has been lacking, forcing new practioners to "reinvent the wheel" and piece together the implementation details from sometimes incomplete descriptions in the primary literature.
This Cookbook aims to fill this gap by collecting a verbose set of tutorials that take the reader through some of the basic theory and implementation details, with plentiful example code that can be easily adapted to new datasets and new research applications. The examples will skew heavily toward the method of radiative kernels, with some comparison to other methods.
Ana Castaneda Montoya, Ty Janoski, Robert Ford, Brian Rose, and Rachel Tam
This Cookbook is organized as follows:
This section takes the reader through some of the basic ideas and provides an overview of the mathematical theory underlying the radiative kernel method.
This section links the theory to the practice by demonstrating the detailed implementation of some radiative feedback calculations.
This section gives more practical example code for carrying out feedback calculations on CMIP6 data, making use of some specialized software packages.
You can either run the notebook using Binder or on your local machine.
The simplest way to interact with a Jupyter Notebook is through
Binder, which enables the execution of a
Jupyter Book in the cloud. The details of how this works are not
important for now. All you need to know is how to launch a Pythia
Cookbooks chapter via Binder. Simply navigate your mouse to
the top right corner of the book chapter you are viewing and click
on the rocket ship icon, (see figure below), and be sure to select
“launch Binder”. After a moment you should be presented with a
notebook that you can interact with. I.e. you’ll be able to execute
and even change the example programs. You’ll see that the code cells
have no output at first, until you execute them by pressing
{kbd}Shift
+{kbd}Enter
. Complete details on how to interact with
a live Jupyter notebook are described in Getting Started with
Jupyter.
If you are interested in running this material locally on your computer, you will need to follow this workflow:
-
Clone the
https://github.com/ProjectPythia/radiative-feedback-cookbook
repository:git clone https://github.com/ProjectPythia/radiative-feedback-cookbook.git
-
Move into the
radiative-feedback-cookbook
directorycd radiative-feedback-cookbook
-
Create and activate your conda environment from the
environment.yml
fileconda env create -f environment.yml conda activate feedback-cookbook-dev
-
Move into the
notebooks
directory and start up Jupyterlabcd notebooks/ jupyter lab