Collected code and examples (Spring 2014)

Here is a collection of the final versions of all the Python code, notebooks and animations that were used in Spring 2014. The simplest way to run everything in
Enthought Canopy is to save all code and notebook files to the same directory, and set that as your “working directory” in Canopy.

Code
  • ColumnModel.py: A simple single-column Radiative-Convective model (semi-grey-gas model with optional shortwave absorption by ozone).
  • orbital.py: Code to compute solar radiation as a function of latitude, time, and orbital parameters
  • ebm.py: Code for the 1-D diffusive Energy Balance Model
  • orbital_extended.py: A modified version of orbital.py that is set up to use orbital data from -51 to +21 million years:
  • La2004_orbital.py: Orbital data file needed to use orbital_extended.py

Notebooks
Each notebook is available here as a static web page, and in native
IPython format (.ipynb)
  • Introducing the Community Earth System Model web .ipynb
  • Introducing the Column Model web .ipynb
  • Soundings from Observations and Radiative-Convective Equilibrium Models web .ipynb
  • Insolation and orbital variations web .ipynb
  • Seasonal cycle and heat capacity web .ipynb

Animations
In QuickTime (.mov) format:
  • EBM_adjustment.mov: adjustment of the 1D Energy Balance Model to equilibrium with annual mean insolation, starting from uniform temperature.
  • EBM_seasonal_cycle.mov: The seasonal cycle of insolation and surface temperature in the EBM with 3 different heat capacities (see Seasonal cycle notebook for the code used to generate these images)