Published October 24, 2026 | Version v1

Spatiotemporal transformer imputation of gauge-rainfall records under sensor-network attrition: a climate-analytics evaluation of flood-threshold exceedance error propagation

  • 1. Makerere University, Kampala

Description

Gauge networks in data-scarce regions lose stations continuously, and the imputation methods used to fill the resulting gaps are evaluated almost exclusively on point-prediction accuracy. Such evaluation is misaligned with the downstream use of imputed rainfall: flood-threshold exceedance, a binary and highly nonlinear functional of the rainfall field. A spatiotemporal transformer imputation framework is formalised, and an analytical error-propagation model is derived that maps imputation error moments onto the probability of threshold misclassification. The model yields a closed-form bound on exceedance-probability error in terms of the imputation residual variance and the local rainfall density near the threshold, and it shows that variance reduction and bias reduction have asymmetric consequences for exceedance error. The framework is applied to a reanalysis-derived temperature record for Kampala, Uganda (2000–2023, 312 monthly observations), used here as a stand-in for a sparse gauge series to demonstrate the propagation calculation. The record has a mean of 22.443 °C and a linear trend of −0.1564 °C per decade, and the propagation model indicates that a plausible imputation residual variance translates into a materially larger exceedance-probability error than the same variance would produce in mean-squared-error terms. The paper concludes that imputation for flood-threshold applications should be tuned and reported against exceedance error rather than against point accuracy, and it specifies the reporting quantities that would make such tuning auditable.

Notes

Published in African Review of Artificial Intelligence in Climate Analytics, vol 27, issue 3, pp 57-70. DOI: 10.5281/zenodo.23606709. A Pan-African Research Journals (PARJ Africa) publication, https://parj.africa

Files

article.pdf

Files (1.0 MB)

Name Size
md5:0fd324e609389d63e27090de8e55e4cd
422.0 kB Download
md5:021103d77173a2b9d70bfcde948ea36d
598.5 kB Preview Download

Additional details

References

  • Alfieri, L., Salamon, P., Pappenberger, F., Wetterhall, F., & Thielen, J. (2012). Operational early warning systems for water-related hazards in Europe. Environmental Science & Policy, 21, 35–49.
  • Awange, J. L., Ferreira, V. G., Forootan, E., Andam-Akorful, S. A., Agutu, N. O., & He, X. F. (2016). Uncertainties in remotely sensed precipitation data over Africa. International Journal of Climatology, 36(1), 303–323.
  • Cloke, H. L., & Pappenberger, F. (2009). Ensemble flood forecasting: A review. Journal of Hydrology, 375(3–4), 613–626.
  • Kotsiantis, S. B., Kanellopoulos, D., & Pintelas, P. E. (2006). Data preprocessing for supervised learning. International Journal of Computer Science, 1(2), 111–117.
  • Lim, B., Arık, S. Ö., Loeff, N., & Pfister, T. (2021). Temporal fusion transformers for interpretable multi-horizon time series forecasting. International Journal of Forecasting, 37(4), 1748–1764.
  • Lorenz, C., & Kunstmann, H. (2012). The hydrological cycle in three state-of-the-art reanalyses: Intercomparison and performance analysis. Journal of Hydrometeorology, 13(5), 1397–1420.
  • Maidment, R. I., Grimes, D., Allan, R. P., Tarnavsky, E., Stringer, M., Hewison, T., Roebeling, R., & Black, E. (2014). The 30 year TAMSAT African rainfall climatology and time series (TARCAT) data set. Journal of Geophysical Research: Atmospheres, 119(18), 10,619–10,644.
  • Murphy, A. H. (1993). What is a good forecast? An essay on the nature of goodness in weather forecasting. Weather and Forecasting, 8(2), 281–293.
  • Pappenberger, F., Cloke, H. L., Parker, D. J., Wetterhall, F., Richardson, D. S., & Thielen, J. (2015). The monetary benefit of early flood warnings in Europe. Environmental Science & Policy, 51, 278–291.
  • Schneider, U., Becker, A., Finger, P., Meyer-Christoffer, A., Ziese, M., & Rudolf, B. (2014). GPCC's new land surface precipitation climatology based on quality-controlled in situ data and its role in quantifying the global water cycle. Theoretical and Applied Climatology, 115(1–2), 15–40.
  • Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention is all you need. Advances in Neural Information Processing Systems, 30, 5998–6008.
  • Wu, H., Xu, J., Wang, J., & Long, M. (2021). Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. Advances in Neural Information Processing Systems, 34, 22419–22430.
  • Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., & Zhang, W. (2021). Informer: Beyond efficient transformer for long sequence time-series forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 35(12), 11106–11115.