Synergies and trade-offs in vulnerability to climate hazard: companion code

Read full text
Authors: Sophie Grosse, Mohammade Check
Cited by: 0

Abstract

Summary First archived release of the code used in the article: S. Grosse, T. Berchoux, M. Check, H. Belhouchette, N. Baghdadi (2026). Synergies and trade-offs in vulnerability to climate hazard: a structural and territorial analysis of South African maize farming systems. Current title at time of release of v0.9.0 This repository provides the scripts used to analyse the structural and territorial dimensions of vulnerability in South African maize farming systems. The framework focuses on identifying synergies and trade-offs between sensitivity and adaptive capacity indicators across multiple forms of capital (natural, human, social, physical, and financial). The analytical pipeline enables the detection of statistically significant relationships, structural patterns, and typological differences in vulnerability profiles at both city and cluster levels. What this release includes Python scripts for: K-means clustering of farming systems into typologies Construction of radar-based vulnerability profiles (city-level and typology-level) Global and group-specific Pearson correlation analyses Multiple-testing corrections (Benjamini–Hochberg FDR and Bonferroni) Heatmap generation with statistical significance annotation Principal Component Analysis (PCA) by city and by typology Export of contingency tables for selected categorical indicators Additional materials: Refactored scripts in scripts/ ensuring reproducibility and standardized execution Supporting visualization assets (heatmaps and example outputs) Interview guide used in data collection requirements.txt listing all Python dependencies Project structure compatible with reproducing the statistical analyses and figures presented in the paper Data availability The data/ folder contains the structured dataset used for the analyses and precomputed correlation outputs required to reproduce the main results. Any sensitive or confidential raw survey material is not included. Folder structure data/ – dataset and processed analytical outputs scripts/ – main Python scripts for clustering, correlation analysis, and PCA assets/ – example figures and visualization outputs tools/ – auxiliary scripts outputs/ – generated figures and Excel outputs (created during execution) requirements.txt – list of Python dependencies README.md – documentation and execution instructions If you use this repository in your research, please cite: S. Grosse, T. Berchoux, M. Check, H. Belhouchette, N. Baghdadi (2026). Synergies and trade-offs in vulnerability to climate hazard: a structural and territorial analysis of South African maize farming systems. [Journal Name].

Fields of Study & Subjects

Climate change impacts on agriculture Agricultural risk and resilience Disaster Management and Resilience

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
16 February 2026
Language
EN