This repository contains the code used to detect drought, heatwave and compound drought–heatwave (CDHW) events in Sistan and Baluchestan, Kerman and Hormozgan provinces of southeastern Iran from ERA5-Land daily data (1950–2025), and to test their trends and dependence.
Every step is applied to two spatial representations of the same data: province-averaged series, and each of the 3,925 native ERA5-Land grid cells (0.1°) inside the three provinces, processed independently. Comparing the two tests whether provincial statistics represent local drought–heatwave dependence.