4. Forcing and a simple climate model¶
Temperature responds to the total energy pushed into the climate, from all causes together. This chapter builds the smallest useful model of that response and uses it to split each period’s warming into its causes.
4.1 Forcing and a simple energy-balance model¶
Temperature responds to the total forcing, not to the CO₂ emitted in a window. To see this we build the simplest useful climate model: two reservoirs of heat. The first (land, air, upper ocean) responds within a few years; the second (deep ocean) over centuries. Each year, each reservoir keeps most of last year's warmth and moves a little towards the level the current forcing would eventually produce:
with τ the response time (4 and 250 years) and q the sensitivity (0.33 and 0.41 °C per W/m²), values typical of the calibrations in the IPCC's Sixth Assessment Report. The temperature is the sum of the two reservoirs.
def respond(forcing, tau=(4.0, 250.0), q=(0.33, 0.41)):
out = np.zeros(len(forcing))
for t_, q_ in zip(tau, q):
a, box = np.exp(-1 / t_), 0.0
for i, F in enumerate(forcing):
box = box * a + q_ * F * (1 - a)
out[i] += box
return out
## a step of 1 W/m2 switched on in year 2, to see how the model behaves
step = respond(np.r_[0, 0, np.ones(8)])
print("years 0-9 after a 1 W/m2 step:", np.round(step, 3))
years 0-9 after a 1 W/m2 step: [0. 0. 0.075 0.133 0.179 0.215 0.244 0.266 0.284 0.298]
The fast reservoir warms by about 0.07 °C in the first year and keeps rising; the slow one barely moves in ten years. Now we feed in each real cause of forcing separately, at its published size, and add them up.
f24 = f[f.year <= 2024].reset_index(drop=True)
parts = pd.DataFrame({"year": f24.year,
"greenhouse and other": respond((f24.anthro - f24.aerosol).to_numpy()),
"aerosol": respond(f24.aerosol.to_numpy()),
"solar": respond(f24.solar.to_numpy()),
"volcanic": respond(f24.volcanic.to_numpy())})
m = d[["year", "global"]].merge(parts, on="year")
causes = ["greenhouse and other", "aerosol", "solar", "volcanic"]
offset = (m["global"] - m[causes].sum(axis=1)).mean() # the only thing fitted: the baseline
m["model"] = m[causes].sum(axis=1) + offset
m["unexplained"] = m["global"] - m["model"]
r2 = 1 - (m.unexplained ** 2).sum() / ((m["global"] - m["global"].mean()) ** 2).sum()
print(f"share of year-to-year variation the model explains: {r2:.0%}")
share of year-to-year variation the model explains: 87%
4.2 What drove each period¶
Because the model is a sum of causes, each period's trend splits into the trend of each part. The parts add up to the observed trend exactly, with the "unexplained" column holding what forcing does not account for: natural swings in the oceans and measurement errors.
rows = []
for a, e in [(1910, 1945), (1946, 1975), (1976, 2024)]:
w = m[m.year.between(a, e)]
rows.append({"period": f"{a}-{e}", **{c: round(np.polyfit(w.year, w[c], 1)[0] * 10, 3) for c in ["global", *causes, "unexplained"]}})
split = pd.DataFrame(rows)
print(split.to_string(index=False))
for _, row in split.iterrows():
forced = row[causes].sum()
print(f"{row.period}: observed {row['global']:+.3f}, forcing explains {forced:+.3f} (greenhouse {row['greenhouse and other']:+.3f}, "
f"aerosol {row.aerosol:+.3f}); unexplained {row.unexplained:+.3f} °C/decade")
period global greenhouse and other aerosol solar volcanic unexplained
1910-1945 0.156 0.048 -0.021 0.004 0.009 0.116
1946-1975 -0.004 0.094 -0.088 0.001 -0.010 -0.001
1976-2024 0.204 0.183 -0.001 -0.003 0.018 0.007
1910-1945: observed +0.156, forcing explains +0.040 (greenhouse +0.048, aerosol -0.021); unexplained +0.116 °C/decade
1946-1975: observed -0.004, forcing explains -0.003 (greenhouse +0.094, aerosol -0.088); unexplained -0.001 °C/decade
1976-2024: observed +0.204, forcing explains +0.197 (greenhouse +0.183, aerosol -0.001); unexplained +0.007 °C/decade
How to read the table. One row per period; each column after "global" is the trend of one cause's part of the model, in °C per decade, and they add up to "global". A positive number warmed the period, a negative one cooled it. The printed lines under the table group them: what forcing explains in total, and what is left over.
What it says. Since the mid-1970s greenhouse gases account for almost all of the warming. In 1946–1975 their warming was cancelled by aerosol cooling. In 1910–1945 forcing explains only part of the warming; the rest is natural variability, which climate scientists already knew.