6.4 Climate Models

Climate models are mathematical representations of Earth's climate system that solve the governing equations of fluid dynamics, thermodynamics, and radiative transfer on computational grids. They range from simple zero-dimensional energy balance models to comprehensive Earth System Models coupling atmosphere, ocean, land surface, ice sheets, and biogeochemical cycles. Climate models are indispensable for understanding past climate, attributing observed changes, and projecting future trajectories under different emission scenarios. The Coupled Model Intercomparison Project (CMIP) coordinates international experiments that directly inform IPCC assessments.

Model Hierarchy: EBMs to ESMs

Climate models span a hierarchy of complexity. Simpler models provide conceptual understanding and rapid exploration; comprehensive models capture emergent feedbacks and regional detail.

Energy Balance Models (EBMs)

0D or 1D (latitude). Balance incoming solar against outgoing longwave radiation:

$$C\frac{dT}{dt} = \frac{S_0(1-\alpha)}{4} - \epsilon\sigma T^4$$

where $C$ is heat capacity, $S_0 = 1361$ W/m$^2$, $\alpha \approx 0.30$, and $\epsilon \approx 0.62$. Equilibrium: $T_{eq} \approx 288$ K.

Radiative-Convective Models (RCMs)

1D column models resolving vertical temperature structure. Radiative equilibrium is unstable, so convective adjustment is applied:

$$\frac{\partial T}{\partial t} = -\frac{1}{\rho c_p}\frac{\partial F_{net}}{\partial z} + Q_{conv}$$

$Q_{conv}$ adjusts the lapse rate to the moist adiabat ($\Gamma_m \approx 6.5$ K/km) when static instability occurs. First developed by Manabe and Strickler (1964).

General Circulation Models (GCMs)

3D models solving the primitive equations on a rotating sphere. Coupled atmosphere-ocean GCMs simulate dynamical response to forcing, including ENSO, AMO, and jet stream variability. Typical resolution: 50-100 km horizontal, 30-90 vertical levels. Time steps of 10-30 minutes. Multi-century runs require millions of CPU-hours.

Earth System Models (ESMs)

GCMs extended with interactive carbon cycle, atmospheric chemistry, aerosol microphysics, ice sheet dynamics, and dynamic vegetation. Capture critical carbon-climate feedbacks ($\gamma_L \approx -30$ GtC/K for land, $\gamma_O \approx -8$ GtC/K for ocean). Examples: CESM2, GFDL-ESM4, UKESM1, MPI-ESM1-2.

Governing Equations on the Sphere

GCMs solve the hydrostatic primitive equations in spherical coordinates ($\lambda$ longitude, $\phi$ latitude) with a generalized vertical coordinate $\eta$:

$$\frac{\partial u}{\partial t} = -\mathbf{v}\cdot\nabla u + \left(f + \frac{u\tan\phi}{a}\right)v - \frac{1}{a\cos\phi}\frac{\partial \Phi}{\partial \lambda} + F_u$$

$$\frac{\partial v}{\partial t} = -\mathbf{v}\cdot\nabla v - \left(f + \frac{u\tan\phi}{a}\right)u - \frac{1}{a}\frac{\partial \Phi}{\partial \phi} + F_v$$

$$\frac{\partial T}{\partial t} = -\mathbf{v}\cdot\nabla T + \kappa T\frac{\omega}{p} + \frac{\dot{Q}}{c_p}$$

where $a$ is Earth's radius, $f = 2\Omega\sin\phi$, $\Phi$ is geopotential, $\kappa = R_d/c_p$

Sigma and Hybrid Coordinates

$$p(\eta, \lambda, \phi, t) = A(\eta)\,p_0 + B(\eta)\,p_s(\lambda, \phi, t)$$

Near surface $B \to 1$ (terrain-following); at model top $B \to 0$ (pure pressure). ESMs use 40-90 hybrid levels to ~0.01 hPa.

Spectral vs. Finite-Volume Methods

Spectral Transform

Expand fields in spherical harmonics $Y_n^m(\lambda,\phi)$. Truncation at N gives resolution $\sim 40000/(2N)$ km. Exact differentiation, no pole problem. Used by ECMWF IFS, CESM CAM-SE. Disadvantage: global communication, not locally conservative.

Finite-Volume / Finite-Element

Discretize on cubed-sphere (GFDL FV3), icosahedral (ICON, MPAS), or lat-lon grids. Locally conservative. Scale well on parallel architectures. MPAS uses Voronoi meshes for variable resolution. Growing preference for next-generation models.

Parameterization of Sub-Grid Processes

Convection Schemes

Arakawa-Schubert (1974)

Spectrum of cloud types parameterized by entrainment rate $\lambda$. Quasi-equilibrium closure: $dA/dt \approx 0$ where $A$ is cloud work function. Mass flux: $M_b(\lambda) = -\frac{dA_L/dt}{\partial A/\partial M_b}$.

Zhang-McFarlane (1995)

Bulk mass-flux with CAPE closure: $M_b = \text{CAPE}/\tau_c$ where $\tau_c \sim 2$ hours. Used in CESM/CAM. Organized entrainment: $\epsilon = \epsilon_0(1 + \delta \cdot \text{RH}_{env})$.

Radiation: Two-Stream and Correlated-k

$$\frac{dF^{\uparrow}}{d\tau} = F^{\uparrow} - (1 - \tilde{\omega})B(\tau) - \frac{\tilde{\omega}}{2}(F^{\uparrow} + F^{\downarrow})$$

Correlated-k: Groups spectral lines with similar absorption into k-bins, reducing calculations to ~16 LW and ~14 SW bands (RRTMG). Accuracy within 1 W/m$^2$ of line-by-line.

Cloud Microphysics

Autoconversion: $(\partial q_r/\partial t)_{auto} = \alpha \cdot q_c^{a} \cdot N_c^{b}$. Double-moment schemes (Morrison, Thompson) predict mass and number concentration for each hydrometeor species. Cloud fraction predicted prognostically in modern ESMs.

Grid Resolution and Numerical Stability

$$\Delta t \leq \frac{\Delta x}{c_{max}} \quad \text{(Courant-Friedrichs-Lewy condition)}$$

With $c_{max} \approx 340$ m/s and $\Delta x = 100$ km: $\Delta t \leq 294$ s. Semi-implicit treatment relaxes this to the advective CFL ($\Delta t \sim 900$ s).

Coarse (~100 km)

CMIP6 standard. Resolves synoptic eddies, planetary waves. Parameterizes convection. Multi-century ensembles feasible. Effective resolution ~5-8x grid spacing.

High-Res (~25 km)

HighResMIP. Resolves tropical cyclones, western boundary currents. ~50x compute of coarse. CESM HR, HadGEM3-GC3.1-HH.

Storm-Resolving (~3 km)

DYAMOND project. No cumulus parameterization. ICON 2.5 km, IFS 4 km. Limited to weeks-months. Transformative for cloud feedbacks.

CMIP6 and SSP Scenarios

The Shared Socioeconomic Pathways define future emission trajectories:

SSP1-2.6 (Sustainability)

CO$_2$ peaks ~2030 then declines. Forcing 2.6 W/m$^2$ by 2100. Warming: 1.3-2.4 K. Net-zero by ~2075. Consistent with Paris 2°C target.

SSP2-4.5 (Middle of the Road)

CO$_2$ peaks ~2050 at ~600 ppm. Forcing 4.5 W/m$^2$. Warming: 2.1-3.5 K. Close to current policy trajectory.

SSP3-7.0 (Regional Rivalry)

CO$_2$ ~850 ppm by 2100. Forcing 7.0 W/m$^2$. Warming: 2.8-4.6 K. Fragmented world, high aerosol emissions.

SSP5-8.5 (Fossil-Fueled)

CO$_2$ exceeds 1100 ppm. Forcing 8.5 W/m$^2$. Warming: 3.3-5.7 K. Used for risk assessment; increasingly unlikely baseline.

Equilibrium Climate Sensitivity: $\Delta T_{eq} = -\Delta F / \lambda$ where $\lambda \approx -1.0 \pm 0.5$ W m$^{-2}$ K$^{-1}$. CMIP6 range: 1.8-5.6 K; likely 2.5-4.0 K (AR6).

Budyko-Sellers 1D Energy Balance Model

The 1D EBM (Budyko 1969, Sellers 1969) resolves latitude dependence with meridional heat transport and ice-albedo feedback:

$$C\frac{\partial T}{\partial t} = S(\phi)(1-\alpha(T)) - [A + BT] + D\nabla^2 T$$

$S(\phi)$ is latitude-dependent insolation, $A + BT$ is linearized OLR, $D\nabla^2 T$ is diffusive heat transport

$$\alpha(T) = \begin{cases} \alpha_i = 0.62 & \text{if } T < T_{crit} = -10°\text{C (ice-covered)} \\ \alpha_0 = 0.30 & \text{if } T \geq T_{crit} \text{ (ice-free)} \end{cases}$$

Parameters

A = 202 W/m$^2$ (OLR constant), B = 1.9 W/m$^2$/K (OLR sensitivity), D = 0.44 W/m$^2$/K (diffusion). Empirically calibrated from satellite observations of OLR vs. surface temperature.

Key Results

Multiple equilibria exist (present climate, Snowball Earth, ice-free). Small ice cap instability: if ice line reaches ~30° latitude, runaway glaciation occurs. Hysteresis between entering and exiting Snowball state requires different solar thresholds.

Linearized Climate Response

Linearizing the 0D EBM around equilibrium $T_0$ with $T = T_0 + T'$ gives the transient response to a forcing perturbation:

$$C\frac{dT'}{dt} = -\lambda T' + \Delta F(t), \quad \text{where } \lambda = 4\epsilon\sigma T_0^3 \approx 3.3 \text{ W m}^{-2}\text{ K}^{-1}$$

For step forcing: $T'(t) = \frac{\Delta F}{\lambda}(1 - e^{-t/\tau})$ with e-folding time $\tau = C/\lambda$

Mixed Layer (50 m)

$C \approx 4 \times 10^8$ J/m$^2$/K

$\tau \approx 4$ years

Deep Ocean

$C \approx 4 \times 10^{10}$ J/m$^2$/K

$\tau \approx 400$ years

2xCO$_2$ Forcing

$\Delta F \approx 3.7$ W/m$^2$

$\Delta T_{eq} \approx 1.1$ K (no feedbacks)

Coupled System Components

Modern ESMs couple multiple component models through a coupler framework (OASIS, ESMF/NUOPC). At each coupling timestep (1-6 hours), fluxes of heat, momentum, freshwater, and chemical species are exchanged:

Atmosphere

CAM, IFS, ECHAM, UM. Dynamics + physics parameterizations. Provides wind stress, heat flux, precipitation to ocean/land. Receives SST, sea ice fraction, land surface fluxes.

Ocean

POP, MOM, NEMO, MPAS-Ocean. Resolves thermohaline circulation, mesoscale eddies (at high res). 50-75 vertical levels. Provides SST and heat uptake. Slow component with centennial memory.

Land & Ice

CLM, JSBACH, JULES (land). CICE, SI3 (sea ice). CISM (ice sheets). Land model handles soil moisture, vegetation, carbon. Sea ice model tracks concentration, thickness, dynamics.

Downscaling Methods

Statistical Downscaling

Empirical relationships between large-scale predictors and local variables: $y_{local} = f(\mathbf{X}_{GCM}) + \epsilon$. Methods: regression, weather typing, stochastic generators. Fast but assumes stationarity.

Dynamical Downscaling (RCMs)

High-resolution regional models (WRF, RegCM, COSMO-CLM) nested within GCM output. 10-25 km typical; convection-permitting at 1-4 km. CORDEX coordinates international RCM experiments.

Model Evaluation and Emergent Constraints

Taylor Diagrams

Display correlation, standard deviation ratio, and centered RMSE: $E'^2 = \sigma_f^2 + \sigma_r^2 - 2\sigma_f\sigma_r R$. Compact visualization of multi-model performance against observations.

Emergent Constraints

Observable across-ensemble relationships constraining projections. E.g., tropical low-cloud variability vs. ECS, seasonal CO$_2$ cycle vs. carbon sensitivity. Leverage present-day observables to narrow future uncertainty.

Skill Scores: BSS = $1 - BS/BS_{ref}$, ranked probability skill score, Climate Prediction Index. Models evaluated against ERA5, CERES, GPCP for mean state, variability, trends, and extremes.

Fortran: 2D Shallow Water Model on a Beta-Plane

Solves the linearized shallow water equations on a beta-plane ($f = f_0 + \beta y$) to simulate Rossby wave propagation, demonstrating the key mechanism for planetary wave dynamics in climate models.

program shallow_water_beta_plane
  implicit none
  integer, parameter :: dp = selected_real_kind(15, 307)
  integer, parameter :: nx = 128, ny = 64, nsteps = 5000
  real(dp), parameter :: Lx = 4.0e6_dp, Ly = 2.0e6_dp
  real(dp), parameter :: g = 9.81_dp, H0 = 500.0_dp
  real(dp), parameter :: f0 = 1.0e-4_dp, beta = 1.6e-11_dp
  real(dp) :: dx, dy, dt, c_gw
  real(dp) :: h(nx,ny), u(nx,ny), v(nx,ny)
  real(dp) :: h_new(nx,ny), u_new(nx,ny), v_new(nx,ny)
  real(dp) :: f_loc, dhdx, dhdy, dudx, dvdy, x, y, ke, pe
  integer  :: i, j, n, ip, im

  dx = Lx/real(nx,dp); dy = Ly/real(ny,dp)
  c_gw = sqrt(g*H0); dt = 0.25_dp*min(dx,dy)/c_gw
  write(*,'(A,F8.2,A)') 'Rossby radius = ', c_gw/f0/1000.0_dp, ' km'

  u = 0.0_dp; v = 0.0_dp; h = 0.0_dp
  do j = 1, ny
    do i = 1, nx
      x = (i-1)*dx; y = (j-1)*dy - Ly/2.0_dp
      h(i,j) = H0 + 5.0_dp*cos(2.0_dp*3.14159_dp*x/Lx) &
               * exp(-y**2/(2.0e5_dp)**2)
    end do
  end do

  do n = 1, nsteps
    do j = 2, ny-1
      do i = 1, nx
        ip = mod(i,nx)+1; im = mod(i-2+nx,nx)+1
        y = (j-1)*dy - Ly/2.0_dp; f_loc = f0 + beta*y
        dhdx = (h(ip,j)-h(im,j))/(2.0_dp*dx)
        dhdy = (h(i,j+1)-h(i,j-1))/(2.0_dp*dy)
        u_new(i,j) = u(i,j) + dt*(f_loc*v(i,j) - g*dhdx)
        v_new(i,j) = v(i,j) + dt*(-f_loc*u(i,j) - g*dhdy)
      end do
    end do
    u_new(:,1) = u_new(:,2); u_new(:,ny) = u_new(:,ny-1)
    v_new(:,1) = 0.0_dp; v_new(:,ny) = 0.0_dp
    do j = 2, ny-1
      do i = 1, nx
        ip = mod(i,nx)+1; im = mod(i-2+nx,nx)+1
        dudx = (u_new(ip,j)-u_new(im,j))/(2.0_dp*dx)
        dvdy = (v_new(i,j+1)-v_new(i,j-1))/(2.0_dp*dy)
        h_new(i,j) = h(i,j) - dt*H0*(dudx + dvdy)
      end do
    end do
    h_new(:,1) = h_new(:,2); h_new(:,ny) = h_new(:,ny-1)
    u = u_new; v = v_new; h = h_new
    if (mod(n,1000)==0) then
      ke = 0.0_dp; pe = 0.0_dp
      do j = 2, ny-1
        do i = 1, nx
          ke = ke + 0.5_dp*H0*(u(i,j)**2+v(i,j)**2)*dx*dy
          pe = pe + 0.5_dp*g*(h(i,j)-H0)**2*dx*dy
        end do
      end do
      write(*,'(A,I6,A,ES12.5,A,ES12.5)') 'Step ',n,' KE=',ke,' PE=',pe
    end if
  end do
  write(*,'(A)') '--- Height at y=0 cross-section ---'
  do i = 1, nx, 4
    x = (i-1)*dx/1000.0_dp
    write(*,'(I5,F10.1,F12.4)') i, x, h(i,ny/2)
  end do
end program shallow_water_beta_plane

Interactive Simulation: Energy Balance Model (EBM)

Python

Simple 0-D energy balance model: C dT/dt = (1-alpha)S/4 - eps*sigma*T^4 + dF. Solve for temperature response to step CO2 doubling with different ocean heat capacities (fast/slow response). Shows transient warming and ocean heat uptake.

energy_balance_model.py109 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server