Capturing the extremes: a quasi-comonotonicity-based algorithm for disaggregating daily to hourly rainfall
Abstract. Disaggregating daily precipitation data into hourly time scale is crucial for hydrological modelling, urban drainage design, and extreme rainfall risk assessment. This study presents Q-CODA, a novel Quasi-Comonotonicity-based Disaggregation Algorithm that leverages the quasi-comonotonic relationship between daily precipitation totals and their sub-daily maxima to generate hourly rainfall sequences consistent with observed extremes. The method first assumes the Fréchet–Hoeffding upper bound copula to simulate sub-daily maximum precipitation values conditioned on daily totals, which serve as target constraints. An initial hourly pattern is obtained via a K-Nearest Neighbours (KNN) approach and subsequently refined through an iterative adjustment algorithm to ensure coherence with both the daily precipitation total and previously calculated multiple sub-daily target constraints. We evaluated Q-CODA through a rigorous 5-fold cross-validation over 91 meteorological stations across Spain, spanning 1996–2024. Performance was benchmarked against state-of-the-art approaches including nearest-neighbour resampling methods, Poisson cluster-based rainfall generators, multiplicative random cascades models and deep learning techniques. Evaluation metrics were tailored to different aspects of the rainfall data: distributional distance (1-D Wasserstein), accuracy measures (mean absolute error, Nash–Sutcliffe efficiency), and extreme quantiles (90th to 99.9th percentiles) were computed on the hourly maximum precipitation over 1-hour windows, focusing on the representation of rainfall extremes. In contrast, autocorrelation and rainfall event duration statistics were calculated on the entire hourly rainfall time series to assess temporal coherence and event structure. Additionally, intensity-duration-frequency (IDF) curves were analysed. Results demonstrate that Q-CODA substantially improves the representation of rainfall extremes while maintaining temporal coherence and event structure. This approach offers a robust, data-driven framework for accurate sub-daily rainfall disaggregation, with significant implications for hydrometeorological applications and infrastructure design.
Following the release of the preprint, I realised that the Code Availability section unintentionally omitted several important resources required for full transparency and reproducibility. In particular, the observational station datasets used in the validation experiments, the implementations of the benchmark disaggregation methods, and the scripts employed to reproduce the comparative evaluation and all figures in the manuscript were not included.
To address this oversight, I am providing here a Zenodo repository containing all missing materials:
https://doi.org/10.5281/zenodo.17896411
A detailed README.txt is included in the package, describing how to reproduce all results and figures.
These resources will be fully integrated into the Code and Data Availability section in the revised version of the manuscript. I apologise for the omission and hope this package facilitates full reproducibility of the study.