Preprints
https://doi.org/10.5194/egusphere-2026-4363
https://doi.org/10.5194/egusphere-2026-4363
17 Aug 2026
 | 17 Aug 2026
Status: this preprint is open for discussion and under review for Earth System Dynamics (ESD).

From logistic regression to deep learning: machine learning modeling of lightning in ERA5 reanalysis data

Adrien Burq, Jean Jouhaud, Victor Xing, Victor Bouvier, Vincent Forcadell, Mateusz Taszarek, Mathieu Vrac, and Davide Faranda

Abstract. Most lightning parameterization schemes rely on local approaches where the predictors are the atmospheric variables in the same grid cell as the output. To validate the hypothesis that large-scale thunderstorm clusters – such as mesoscale convective systems – are driven by broad spatial predictor patterns, we model lightning occurrence using architectures capable of processing surrounding grid-cell data rather than relying solely on local point-based inputs. This study develops a deep convolutional neural network (U-Net) to model lightning occurrence across Europe using ERA5 reanalysis data. The model is trained on 13 years of data and evaluated with a leave-one-year-out cross-validation strategy. We compare the performance of the U-Net to several local machine learning models of increasing complexity, including logistic regression, generalized additive model, extreme gradient boosting, and multi-layer perceptron. We find that the U-Net outperforms all single grid cell models in overall performance and on the most extreme events. Through a feature importance study, we find that the most important predictors depend on the model type. Finally we show with a spatial sensitivity study that the U-Net captures mesoscale patterns driving lightning occurrence.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share
Adrien Burq, Jean Jouhaud, Victor Xing, Victor Bouvier, Vincent Forcadell, Mateusz Taszarek, Mathieu Vrac, and Davide Faranda

Status: open (until 28 Sep 2026)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Adrien Burq, Jean Jouhaud, Victor Xing, Victor Bouvier, Vincent Forcadell, Mateusz Taszarek, Mathieu Vrac, and Davide Faranda

Model code and software

From logistic regression to deep learning : machine learning modeling of lightnings in reanalysis data Burq and Forcadell https://github.com/AdrienBq/lightning_modelling

Adrien Burq, Jean Jouhaud, Victor Xing, Victor Bouvier, Vincent Forcadell, Mateusz Taszarek, Mathieu Vrac, and Davide Faranda
Metrics will be available soon.
Latest update: 17 Aug 2026
Download
Short summary
Lightning is a small-scale process that climate and weather models cannot compute exactly, so it must be approximated. Here we build a deep learning model that predicts lightning across a whole region at once, using inputs from the whole region, and compare it to models that predict each pixel separately. Using this larger-scale information proves beneficial: our model outperforms the single-pixel ones. We also identify the spatial scale and the environmental predictors that matter most.
Share