A computing project on climate physics
The 3-Kelvin Baseline
Strip the climate down to a single column of air. Infrared light, convection, and water vapor are enough to explain 3 degrees of warming. Here’s the whole argument — scroll to descend.
The one mechanism you need
Greenhouse gases don’t trap heat. They raise the exit.
Nothing about the greenhouse effect requires a blanket, a lid, or a trap. It only requires that heat leaves from higher, colder air.
Start here
Earth sheds heat as infrared light. Most of it leaves not from the ground but from somewhere up in the air — the effective emission level.
Drag, or use the arrow keys, to move the emission level yourself.
| CO₂ multiple | Emission altitude (km) | Emission temperature (K) |
|---|---|---|
| 1× | 5.5 | 255 |
| 1.5× | 6.35 | 249.5 |
| 2× | 6.95 | 245.6 |
| 2.5× | 7.42 | 242.5 |
| 3× | 7.8 | 240.1 |
| 3.5× | 8.12 | 238 |
| 4× | 8.4 | 236.2 |
The instrument
Fifty layers of air, and real quantum spectroscopy.
The column runs from the ground to 0.1 hPa in 50 layers. Measured absorption line data is precomputed into a lookup table, so thousands of experiments are cheap.
HITRAN2020 line data
100–2500 cm⁻¹
σ(ν, P, T) lookup table
precomputed, so a run is cheap
moist-convective adjustment
caps the lapse rate at 6.5 K/km
| Layer | Pressure (hPa) | Altitude (km) | Temperature (K) |
|---|---|---|---|
| 1 | 1000 | 0 | 281.7 |
| 6 | 391 | 7.05 | 235.9 |
| 11 | 153 | 14.1 | 197.4 |
| 16 | 59.6 | 21.15 | 198.6 |
| 21 | 23.3 | 28.19 | 199.2 |
| 26 | 9.1 | 35.24 | 199.6 |
| 31 | 3.56 | 42.29 | 199.8 |
| 36 | 1.39 | 49.34 | 199.9 |
| 41 | 0.543 | 56.39 | 199.9 |
| 46 | 0.212 | 63.44 | 200 |
Test 1 · Does it look like Earth?
The model’s infrared spectrum has Earth’s bite taken out of it.
This is the light leaving the planet, wavelength by wavelength. Every notch is a gas, and the depth of each notch tells you how cold the air is where that light escapes.
| Wavenumber (cm⁻¹) | Radiance (mW m⁻² sr⁻¹ (cm⁻¹)⁻¹) | Brightness temperature (K) |
|---|---|---|
| 100 | 13.3011 | 225 |
| 200.17 | 38.5759 | 231.15 |
| 300.33 | 63.7396 | 239.79 |
| 400.5 | 82.4172 | 247.25 |
| 500.67 | 93.2791 | 254.12 |
| 600.83 | 112.4694 | 272.12 |
| 701 | 43.0497 | 220.82 |
| 801.17 | 113.9912 | 288 |
| 901.34 | 97.6931 | 288 |
| 1001.5 | 80.8955 | 288 |
| 1101.67 | 65.1093 | 288 |
| 1201.84 | 51.1502 | 287.98 |
| 1302 | 36.0873 | 284.16 |
| 1402.17 | 14.3028 | 260.67 |
| 1502.34 | 6.176 | 246.03 |
| 1602.5 | 4.0115 | 245 |
| 1702.67 | 2.8803 | 246.85 |
| 1802.84 | 3.8698 | 264.68 |
| 1903.01 | 5.6621 | 285.75 |
| 2003.17 | 4.3142 | 288 |
| 2103.34 | 3.0284 | 288 |
| 2203.51 | 2.111 | 288 |
| 2303.67 | 0.3704 | 257.3 |
| 2403.84 | 0.5875 | 275.62 |
Zoom in 2,500×
Saturation is settled in the wings of a single line.
At the band centre the atmosphere is already opaque — adding CO₂ changes nothing there. The absorption that still has room to grow lives out in the faint edges of each line.
| Offset (cm⁻¹) | 1000 hPa | 500 hPa | 10 hPa |
|---|---|---|---|
| -0.5 | 0.087417 | 0.0443515 | 0.000974122 |
| -0.0131669 | 4.39143 | 7.96562 | 1.39617 |
| -0.000346736 | 4.54662 | 9.09078 | 314.689 |
| 0 | 4.54673 | 9.09167 | 346.956 |
| 0.000346736 | 4.54662 | 9.09078 | 314.689 |
| 0.0131669 | 4.39143 | 7.96562 | 1.39617 |
| 0.5 | 0.087417 | 0.0443515 | 0.000974122 |
The wings are why the greenhouse effect doesn’t saturate.
Test 2 · Radiative-convective equilibrium
Radiation alone gets Earth wrong.
Strip convection out of the column and the physics still runs — it just produces a planet nobody would recognise.
surface temperature
Surface temperature: 303.8 K under radiative equilibrium, 281.7 K once convection is included.Radiation alone
Let infrared radiation set the temperature on its own and the surface reaches 303.8 K — and the lowest 5 km becomes so steeply stratified it cannot physically stand.
| Altitude (km) | Radiative equilibrium (K) | Radiative-convective (K) | US Standard 1976 (K) |
|---|---|---|---|
| 0 | 303.8 | 281.7 | 288.15 |
| 5 | 258.8 | 249.2 | 255.65 |
| 10 | 227.353 | 216.7 | 223.15 |
| 15 | 212.725 | 197.63 | 216.65 |
| 20 | 205.919 | 198.438 | 216.65 |
| 25 | 202.754 | 198.97 | 221.65 |
| 30 | 201.281 | 199.321 | 226.65 |
| 35 | 200.596 | 199.552 | 237.05 |
| 40 | 200.277 | 199.705 | 251.05 |
| 45 | 200.129 | 199.805 | 265.05 |
| 50 | 200.06 | 199.872 | 270.65 |
| 55 | 200.028 | 199.915 | 259.45 |
| 60 | 200.013 | 199.944 | 245.45 |
| 65 | 200.006 | 199.963 | 231.45 |
| 70 | 200.003 | 199.976 | 217.45 |
Test 3 · The greenhouse signature
Doubling CO₂ warms below and cools aloft.
This is the detail that settles the argument. A greenhouse gas and a brighter sun both warm the surface — but only one of them cools the upper atmosphere at the same time.
| Altitude (km) | Temperature change (K) |
|---|---|
| 0 | 3.2 |
| 5 | 3.19 |
| 10 | 3.17 |
| 15 | 2.815 |
| 20 | 1.8 |
| 25 | 1.15 |
| 30 | 0.72 |
| 35 | 0.42 |
| 40 | 0.2 |
| 45 | 0.044 |
| 50 | -0.18 |
| 55 | -0.42 |
| 60 | -0.49 |
| 65 | -0.42 |
| 70 | -0.38 |
Two ways to warm a planet
Stronger sun → warms everywhere
Extra sunlight heats the whole column. Nothing cools.
More CO₂ → warms below, cools aloft
The stratosphere radiates more efficiently than it absorbs, and loses heat.
The brighter-sun column is illustrative, drawn to contrast the shape of the response — the model itself was not run with a solar perturbation.
The amplifier
CO₂ opens the door. Water vapor walks through it.
Warmer air holds more moisture, and moisture is itself a greenhouse gas. Let humidity respond and the same CO₂ doubling produces far more warming.
CO₂ alone
humidity frozen
CO₂ + water vapor
humidity responds
fixed absolute humidity
fixed relative humidity
Gain
×1.61
Feedback factor
0.38
warm air holds ≈7% more moisture per kelvin (Clausius–Clapeyron)
| Humidity treatment | Surface warming (K) |
|---|---|
| Fixed absolute humidity (no feedback) | 1.98 |
| Fixed relative humidity (with feedback) | 3.2 |
| Water vapor contribution | 1.22 |
| Gain | 1.61 |
| Feedback factor | 0.38 |
Push it further
Each doubling adds about the same — but not quite.
Warming grows roughly with the logarithm of CO₂, so every doubling costs a similar amount. Look closely and the line bends upward: a warmer planet holds more water vapor, which strengthens the feedback.
surface warming at 2× CO₂
| CO₂ multiple | Doublings | Surface warming (K) |
|---|---|---|
| 1× | 0 | 0.00 |
| 2× | 1 | 3.20 |
| 4× | 2 | 7.39 |
| 8× | 3 | 13.07 |
2× CO₂
3.20 K
4× CO₂
7.39 K
8× CO₂
13.07 K
Can you trust it?
The arithmetic is tight. The omissions are not.
Numerical error in this model is measured in hundredths of a kelvin. The real uncertainty is everything the column was never asked to represent.
from perturbing line parameters
50 layers against 100
clouds, ozone, circulation
| Source | Magnitude |
|---|---|
| Spectroscopy | ±0.01 K |
| Grid resolution | 0.2 K |
| Missing physics (clouds, ozone, circulation) | Unbounded |
Table I · Verification
| Check | Result | Note |
|---|---|---|
| Top-of-atmosphere imbalance | < 0.01 W m⁻² | convergence threshold |
| Grid resolution | −0.2 K | Ts at 50 layers minus Ts at 100 |
| Lookup table vs line-by-line | RMS < 0.5 W m⁻² | flux error from the tabulated cross-sections |
| Spectroscopic perturbation · σ(Ts) | 0.01 K | surface temperature spread |
| Spectroscopic perturbation · σ(ECS) | 0.01 K | climate sensitivity spread |
| Forcing target | 3.7 W m⁻² | per CO₂ doubling |
What this model deliberately leaves out
The honest part of the answer.
This is a clear-sky, one-dimensional, longwave-only column. Its value comes from what it excludes as much as what it includes.
Clouds
The largest wildcard, and the main reason big models disagree with each other.
Sunlight & ozone
No shortwave heating, so the stratosphere here is structurally incomplete.
Oceans & circulation
One column. No weather, no transport, no heat taken up by the sea.
3 K is the baseline physics hands you. Everything above it is a claim about clouds.