Impact Functions¶
Age-specific heat-mortality impact functions translate daily ambient temperature into a conditional probability of heat-attributable death for each exposed age group. They are built in NB04 (04_impact_functions_sensitivity.ipynb).
The framework distinguishes a main deterministic family, promoted to the canonical downstream slot used by NB05–NB08, from sensitivity families written alongside it for generalisability checks. Which family is main is selected by the IF_MAIN_FAMILY environment variable (default masselot_tail_varcorr: the log-linear-tail Masselot curves with the interannual variance correction).
Main family — Masselot et al. (city- and age-specific)¶
The default deterministic impact functions come from a reconstruction of the city- and age-specific temperature–mortality relationships of Masselot et al. (2023) (heat- and cold-attributable mortality across 854 European cities; Zenodo record 10288665). Because these curves are estimated per city, the main IF is genuinely local rather than a European average applied uniformly.
For each city the reconstruction produces age-differentiated mean-damage-degree curves stored as masselot_if_curves_<slug>*.json, with impact-function IDs mapped to the three age groups:
| Age group | impf_T2M ID |
|---|---|
| < 15 | 1 |
| 15–64 | 2 |
| 65+ | 3 |
Masselot families¶
The Masselot families differ in two independent choices: how the response is extrapolated beyond the fitted temperature range — a material choice because future climate pushes daily temperatures past the observed support — and whether the interannual variance correction is applied.
IF_MAIN_FAMILY |
Source file | Tail extrapolation | Variance correction |
|---|---|---|---|
masselot |
masselot_if_curves_<slug>.json |
Constant | – |
masselot_tail |
masselot_if_curves_<slug>_tail.json |
Log-linear | – |
masselot_varcorr |
masselot_if_curves_<slug>_varcorr.json |
Constant | ✓ |
masselot_tail_varcorr (default) |
masselot_if_curves_<slug>_tail_varcorr.json |
Log-linear | ✓ |
- Constant tail — response held flat above the city's historical maximum temperature.
- Log-linear tail — response continues to rise log-linearly (non-negative) above it.
NB04 promotes the configured family to the canonical downstream IF slot inside the active output variant and records the choice in interim/if_family_manifest_<slug>.json (canonical_source_family, if_main_source: Masselot, masselot_extrapolation). The other extrapolation, with the same variance treatment, is written alongside as the extrapolation sensitivity (masselot_extrapolation_sensitivity_family).
Interannual variance correction¶
The default climatology_mean baseline (see Hazard) assigns each calendar day the mean temperature across the historical years, so the model evaluates the response at the mean of the observed years. The quantity of interest is the burden of an average year — the mean of the responses to the individual years. The heat limb of the curve is convex, so the first is strictly smaller (Jensen's inequality), and the gap widens with interannual variance. In cool cities the climatological summer peak can fall below the minimum-mortality temperature even though individual years exceed it, and the burden collapses towards zero.
Carrying every observed year through the hazard would remove the gap but multiply the hazard size and impact computation by the number of years. The correction is applied to the curve instead, where it is algebraically equivalent and free at run time:
where \(\mathcal{E}_c\) is the pooled sample of June–August daily anomalies about the day-of-year mean in city c (UrbClim, 2008–2017). The corrected curve is a drop-in replacement on the same temperature grid, so the hazard, event frequencies and all downstream components are unchanged; the constant or log-linear tail of the source curve is preserved.
- One curve per city and age group. CLIMADA attaches impact functions to exposure points, not to hazard events, so a month-varying curve cannot be expressed. Restricting the anomalies to June–August is also more accurate: pooling the whole year applies summer-sized excursions to mild days.
- Accuracy. Against the exact per-year calculation, the corrected curve has a median error of 1.6 % (worst 9.5 %) across nine cities, against 2.0 % for twelve month-specific curves and 6.1 % for an annually pooled sample. Driven through the full workflow, it reproduces the exact multi-year mean baseline mortality to 0.17 %.
- Building the curves.
scripts/build_variance_corrected_ifs.py --cities <slug>writes the two*_varcorr.jsonfiles next to the originals, which are never modified. It needs the city's UrbClim daily T2M underdata/<City>/UrbClim/UrbClimT2Mmean/(downloaded by NB01). NB04 runs the script automatically when a variance-corrected family is requested and its file is missing. - Switching it off. Set
IF_MAIN_FAMILY=masselot_tail(ormasselot) to run on the uncorrected curves.
The variance correction is paired with the ERA5-Land reference correction applied to the hazard; the two are only jointly sufficient — see Hazard for the 40-city evaluation.
Sensitivity families — Burke et al.¶
The previous main family is retained as a sensitivity / generalisability artifact. Two Burke-based curves are written by NB04 but are not used in the main mortality calculation:
Functions are anchor-point approximations to the age-differentiated European panel of Burke et al. (2025), estimated from daily mortality and temperature records across >1,000 European locations using a two-stage meta-regression.
Polynomial (Burke) dose–response¶
A polynomial in daily mean 2 m temperature T (°C), restricted to operate above a reference temperature T_ref = 20 °C:
where D_a(T) is excess deaths per 100,000 population per day for age group a, and β,k are age-grp-specific coefficients fitted to the Burke (2025) Fig. 2 EU-panel anchor points. This curve is city-agnostic — its only per-city term is the baseline-mortality year scaling (identical to the Masselot-main family).
Convex power-law (Burke)¶
A convex power-law variant of the same anchors, used to probe functional-form sensitivity at the high-temperature tail.
The 65+ group has a dose–response roughly 20× steeper than the working-age group at 40 °C; the <15 group has the lowest sensitivity.
Copenhagen exception. Copenhagen's Burke sensitivity IF is built on the extreme-event (Track-B) hazard rather than the daily-mean track, shipped in
burke_if_reference/copenhagen/and loaded as-is so the existing sensitivity is preserved exactly.
Interface with CLIMADA¶
CLIMADA impact functions require mean damage degrees (mdd) in [0, 1]:
For each target year a distinct CLIMADA ImpactFuncSet is constructed, and each exposure row points to its age-group IF via the impf_T2M field.
Annual scaling¶
Impact functions are adjusted for each target year to account for two modulating factors. This scaling is applied identically to the Masselot-main and Burke-sensitivity families.
1. Baseline mortality scaling¶
Age-specific all-cause mortality rates evolve following SSP-consistent epidemiological transitions (WCDE life-table projections). NB04 derives the year factor as the median ratio of each year's stored mdd curve to the reference-year curve:
2. Air-conditioning attenuation¶
Current AC coverage attenuates the effective heat-mortality dose (applied in NB05, not NB04):
where c_y(x) = local AC coverage fraction at grid cell x in year y, and ε_a = age-specific AC efficacy.
Age-specific AC efficacy (ε_a)¶
Configured via the efficacy / efficacy_scenarios blocks in the city YAML. Central defaults:
| Age group | Conservative (sera_spain) |
Central (default) | Optimistic |
|---|---|---|---|
| < 15 | 0.10 | 0.20 | 0.30 |
| 15–64 | 0.14 | 0.30 | 0.40 |
| 65+ | 0.20 | 0.40 | 0.55 |
Sensitivity dimensions¶
| Dimension | Values examined |
|---|---|
| Impact-function family | Masselot constant-tail · Masselot log-linear-tail · Burke polynomial · Burke power-law |
| High-temperature extrapolation | Constant vs. log-linear tail (same variance treatment as the main family) |
| Reference temperature T_ref | Multiple thresholds (Burke family) |
| Anchor-point level scaling | ±50% (Burke family) |
| Mortality displacement | Range of short-term displacement fractions |
See Uncertainty Analysis for full details.
This page is maintained in the URBADAPT-HEAT wiki and synced automatically. Edit it there, not in the website repository.