Code

Effective static stability

A matlab script to evaluate the effective static stability experienced by eddies in a moist atmosphere as derived in O'Gorman, JAS, 68, 75-90, 2011: eff_stat_stab.m

Precipitation extremes scaling estimate

A matlab script to evaluate a scaling estimate for the intensity of precipitation extremes following O'Gorman and Schneider, PNAS, 106, 14773-14777, 2009: precip_extremes_scaling.m

(A python version is available from Oliver Angelil)

Moist available potential energy

Matlab code to evaluate the moist available potential energy using the divide and conquer algorithm introduced in Stansifer, O'Gorman and Holt, QJRMS, 143, 288-292, 2017: moist_ape.tar.gz

Zero-buoyancy plume model

Matlab script written by Martin Singh to evaluate the zero-buoyancy plume model of Singh and O'Gorman, GRL, 40, 4398-4403, 2013. This model has been used to explain changes in CAPE and thermal stratification with warming in radiative-convective equilibrium: zero_buoyancy_plume.m