MMontandon Notebooks
Log in

Templates › Population & infrastructure risk exposure

Population & infrastructure risk exposure

How many people and which facilities are exposed to a hazard, before any event — a baseline for preparedness.

Use Case 1 · Risk · before the event. Compares a hazard raster against a threshold to build a hazard mask, overlays population, health facilities and schools, and aggregates exposed population (per return period and as an annual average) and facility counts per subdivision.

Needs the hazard rasters (flood, cyclone, earthquake) at datasets_url, a folder or URL. Population (WorldPop 1 km) is downloaded once per country into a scratch cache; health facilities and schools come from OpenStreetMap (Layercake). Hazards without data yet (wildfire, heatwave) and airports and roads fail with a clear error instead of showing fake data.

Parameters schema · 8 fields

ParameterTypeDefaultDescription
Hazard
hazard
string · 3 options flood
Hazard datasets location
datasets_url
string https://goplaygroundstorage.blob.core.windows.net/notebook-factory-playground-static-datasets-container/mapaction/216-hazardFolder or URL (https://, s3://, az://) that holds the hazard rasters (wrl_risk_ras_*.tif) directly.
Return period (years)
return_period
integer · 5 options 100For floods and cyclones. Earthquakes always use 475.
Population year (WorldPop)
population_year
integer 2025WorldPop R2025A year. Years after the present are projections.
Climate scenario
climate_scenario
string · 2 options currentFlood and cyclone only.
Aggregation subdivisions
aggregation_level
integer · 2 options 2Admin level used for zonal statistics.
Hazard intensity threshold
intensity_threshold
number —Leave blank for the hazard's default: flood 0.5, cyclone 33, earthquake 0.22 (units of the hazard raster).
Infrastructure layers
infrastructure_layers
array · 4 options ['health']

Recent runs 43 total

RunTargetParametersStatusCreated
4dc50e40
Population & infrastructure risk exposure
Haiti
Haiti · Country
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 11 hours ago
Manual (UI)
Open
42040457
Population & infrastructure risk exposure
Valencia
Spain · Admin 2
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 1 day, 2 hours ago
Manual (UI)
Open
c82908ad
Population & infrastructure risk exposure
West
Nepal · Admin 1
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 2 days, 5 hours ago
Manual (UI)
Open
b97a7af5
Population & infrastructure risk exposure
Mid-Western
Nepal · Admin 1
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 2 days, 5 hours ago
Manual (UI)
Open
3e9bae2d
Population & infrastructure risk exposure
Far-Western
Nepal · Admin 1
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 2 days, 5 hours ago
Manual (UI)
Open
b51eb302
Population & infrastructure risk exposure
East
Nepal · Admin 1
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 2 days, 5 hours ago
Manual (UI)
Open
5e0309b4
Population & infrastructure risk exposure
Central
Nepal · Admin 1
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 2 days, 5 hours ago
Manual (UI)
Open
45cbe06a
Population & infrastructure risk exposure
West
Nepal · Admin 1
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 6 days, 10 hours ago
Manual (UI)
Open
c12a2905
Population & infrastructure risk exposure
Mid-Western
Nepal · Admin 1
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 6 days, 10 hours ago
Manual (UI)
Open
ebea33b3
Population & infrastructure risk exposure
Far-Western
Nepal · Admin 1
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… Published 6 days, 10 hours ago
Manual (UI)
Open