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
| Parameter | Type | Default | Description |
|---|---|---|---|
Hazardhazard |
string · 3 options | flood | |
Hazard datasets locationdatasets_url |
string | https://goplaygroundstorage.blob.core.windows.net/notebook-factory-playground-static-datasets-container/mapaction/216-hazard | Folder or URL (https://, s3://, az://) that holds the hazard rasters (wrl_risk_ras_*.tif) directly. |
Return period (years)return_period |
integer · 5 options | 100 | For floods and cyclones. Earthquakes always use 475. |
Population year (WorldPop)population_year |
integer | 2025 | WorldPop R2025A year. Years after the present are projections. |
Climate scenarioclimate_scenario |
string · 2 options | current | Flood and cyclone only. |
Aggregation subdivisionsaggregation_level |
integer · 2 options | 2 | Admin level used for zonal statistics. |
Hazard intensity thresholdintensity_threshold |
number | — | Leave blank for the hazard's default: flood 0.5, cyclone 33, earthquake 0.22 (units of the hazard raster). |
Infrastructure layersinfrastructure_layers |
array · 4 options | ['health'] |
Recent runs 43 total
| Run | Target | Parameters | Status | Created | |
|---|---|---|---|---|---|
4dc50e40Population & infrastructure risk exposure |
Haiti Haiti · Country |
Hazard: flood · Hazard datasets location: https://goplaygroundstorage.blob.core… | Published | 11 hours ago Manual (UI) |
Open |
42040457Population & 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 |
c82908adPopulation & 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 |
b97a7af5Population & 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 |
3e9bae2dPopulation & 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 |
b51eb302Population & 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 |
5e0309b4Population & 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 |
45cbe06aPopulation & 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 |
c12a2905Population & 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 |
ebea33b3Population & 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 |