SAFE-PES calculation data and code (Qatar, 2020–2024)

Published: 1 November 2026| Version 1 | DOI: 10.17632/bhcfwzb4k3.1
Contributors:
Khulood Alganehi,

Description

Calculation data and code accompanying the article "Development and Analysis of a Novel Early Warning Framework for Urban Sustainability Collapse" (Building and Environment, submitted). The dataset contains the formula-linked calculation workbook (V.4.7, with 32 automated validation checks), the official raw inputs for 2020–2024, the 78-indicator register of the SAFE Framework, independent Python recalculation scripts, figure-generation scripts and a source register listing the source, table and page of every number. All inputs are publicly released official statistics for the State of Qatar (NPC, KAHRAMAA, Qatar Open Data Portal, Census 2020) and one peer-reviewed study. Running scripts/pes.py (Python 3, standard library only) reproduces the headline results: PES group risk 54.3 (geometric aggregation) and 27.1 (arithmetic aggregation).

Files

Steps to reproduce

Download all files into one folder. Run "python pes.py" (Python 3, standard library only) to recompute all indicator, domain and group results; headline output: PES group risk 54.3 (geometric) and 27.1 (arithmetic). Run "python extra.py" for the floor, unsmoothed and expanding-window analyses. Figures: "python make_results_figs.py" and "python make_safe_figure.py" (requires matplotlib and Pillow).

Institutions

Categories

Sustainability

Licence