Submitted:
10 April 2026
Posted:
14 April 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Data Collection and Preprocessing
2.2. Mathematical Design and Writing of the Model
2.3. Wavelet-Based Multi-Resolution Analysis
2.4. Multi-Head Attention Mechanism
2.5. Temporal Modeling Using LSTM Networks
2.6. Hybrid Wavelet–Attention–LSTM Architecture
- 1.
- SWT-based wavelet decomposition for explicit multi-scale feature extraction,
- 2.
- Multi-head attention for adaptive scale and feature weighting,
- 3.
- LSTM layers for temporal sequence modeling.

2.7. Training Objective and Evaluation Metrics
3. Results
3.1. Quantitative Performance of the Proposed Model
3.2. Qualitative Analysis of Temporal Predictions
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A. Tables and Figures
| Metric | Value | Mean Value |
|---|---|---|
| MAE_temperature_2m (°C) | 0.351253 | |
| MAE_relative_humidity_2m (%) | 2.198971 | 1.216478 |
| MAE_wind_speed_10m (km/h) | 1.099211 | |
| RMSE_temperature_2m (°C) | 0.518849 | |
| RMSE_relative_humidity_2m (%) | 3.095541 | 1.710990 |
| RMSE_wind_speed_10m (km/h) | 1.518582 | |
| _temperature_2m (°C) | 0.977808 | |
| _relative_humidity_2m (%) | 0.984651 | 0.944271 |
| _wind_speed_10m (km/h) | 0.870356 |
| Variable Name | Description | Unit |
|---|---|---|
| Target Variables | ||
| temperature_2m | Air temperature measured at 2 meters above ground level | °C |
| relative_humidity_2m | Relative humidity at 2 meters above ground | % |
| wind_speed_10m | Wind speed measured at 10 meters above ground | km/h |
| Atmospheric Explanatory Variables | ||
| dew_point_2m | Dew point temperature at 2 meters | °C |
| apparent_temperature | Perceived temperature combining air temperature, humidity, and wind | °C |
| pressure_msl | Atmospheric pressure reduced to mean sea level | hPa |
| cloud_cover | Total cloud cover fraction | % |
| precipitation | Instantaneous precipitation amount | mm |
| vapour_pressure_deficit | Vapor pressure deficit (indicator of atmospheric dryness) | kPa |
| wind_u | Zonal wind component (east–west direction) | km/h |
| wind_v | Meridional wind component (north–south direction) | km/h |
| absolute_humidity | Absolute humidity of the air | g/m3 |
| heat_index | Heat index combining temperature and humidity effects | °C |
| dewpoint_spread | Difference between air temperature and dew point temperature | °C |
| Variable Name | Description | Unit |
|---|---|---|
| Radiative Variables | ||
| shortwave_radiation_instant | Incoming global shortwave solar radiation | W/m2 |
| direct_normal_irradiance_instant | Direct normal solar irradiance | W/m2 |
| diffuse_radiation_instant | Diffuse solar radiation component | W/m2 |
| terrestrial_radiation_instant | Outgoing terrestrial (infrared) radiation | W/m2 |
| Temporal Encoded Variables | ||
| hour_sin, hour_cos | Sinusoidal encoding of hourly cycle (diurnal periodicity) | – |
| month_sin, month_cos | Cyclical encoding of annual seasonality (month) | – |
| dayofweek_sin, dayofweek_cos | Cyclical encoding of weekly periodicity | – |
| Soil and Hydrological Variables | ||
| soil_temperature_0_to_7cm | Soil temperature at 0–7 cm depth | °C |
| soil_moisture_0_to_7cm | Volumetric soil moisture at 0–7 cm depth | m3/m3 |
| et0_fao_evapotranspiration | Reference evapotranspiration (FAO Penman–Monteith) | mm |






References
- Stull, R.B. An Introduction to Boundary Layer Meteorology; Springer: Dordrecht, 1988. [Google Scholar] [CrossRef]
- Wallace John, M.H.P.V. Atmospheric Science: An Introductory Survey, 2 ed.; Elsevier: Amsterdam, 2006. [Google Scholar]
- Monteith, J.L.; Unsworth, M.H. Principles of Environmental Physics: Plants, Animals, and the Atmosphere, 4 ed.; Academic Press: Oxford, 2013. [Google Scholar]
- Sultan, B.; Janicot, S. The West African Monsoon Dynamics. Part II: The “Preonset” and “Onset” of the Summer Monsoon. Journal of Climate 2003, 16, 3407–3427. [Google Scholar] [CrossRef]
- Nicholson, S.E. The West African Sahel: A Review of Recent Studies on the Rainfall Regime and Its Interannual Variability. ISRN Meteorology 2013, 1–32. [Google Scholar] [CrossRef]
- Sylla, M.B.; Nikiema, P.M.; Gibba, P.; Kebe, I.; Klutse, N.A.B. Projected Changes in the Annual Cycle of High-Intensity Precipitation Events over West Africa for the late twenty-first century. Journal of Climate 2015, 28, 6475–6491. [Google Scholar] [CrossRef]
- Guichard, F.; Kergoat, L.; Mougin, E. Modelling the diurnal cycle of deep precipitating convection over land with global and regional models. Quarterly Journal of the Royal Meteorological Society 2009, 135, 832–858. [Google Scholar] [CrossRef]
- FAO. The Future of Food and Agriculture: Trends and Challenges; Food and Agriculture Organization of the United Nations: Rome, 2017. [Google Scholar]
- Gasparrini, A.; Guo, Y.; Hashizume, M. Mortality risk attributable to high and low ambient temperature: a multicountry observational study. The Lancet 2015, 386, 369–375. [Google Scholar] [CrossRef] [PubMed]
- World Health Organization. COP24 Special Report: Health and Climate Change; World Health Organization: Geneva, 2018. [Google Scholar]
- Lorenz, E.N. Deterministic nonperiodic flow. Journal of the Atmospheric Sciences 1963, 20, 130–141. [Google Scholar] [CrossRef]
- Kalnay, E. Atmospheric Modeling, Data Assimilation and Predictability; Cambridge University Press: Cambridge, 2003. [Google Scholar] [CrossRef]
- Box, G.E.P.; Jenkins, G.M. Time Series Analysis: Forecasting and Control, revised ed.; Holden-Day: San Francisco, 1976. [Google Scholar]
- Chatfield, C. Time-Series Forecasting; Chapman and Hall/CRC: Boca Raton, 2000. [Google Scholar]
- Wilks, D.S. Statistical Methods in the Atmospheric Sciences; Academic Press, 2019. [Google Scholar]
- Hyndman, R.J.; Athanasopoulos, G. Forecasting: Principles and Practice, Open-access online textbook, 3 ed.; OTexts: Melbourne, 2021. [Google Scholar]
- Breiman, L. Random Forests. Machine Learning 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Cortes, C.; Vapnik, V. Support-Vector Networks. Machine Learning 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Friedman, J.H. Greedy Function Approximation: A Gradient Boosting Machine. The Annals of Statistics 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
- Bishop, C.M. Pattern Recognition and Machine Learning; Springer: New York, 2006. [Google Scholar]
- Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Computation 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
- Shi, X.; Chen, Z.; Wang, H.; Yeung, D.Y.; Wong, W.K.; Woo, W.c. Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcasting. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), 2015; pp. 802–810. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention Is All You Need. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), 2017. [Google Scholar] [CrossRef]
- Ngoungue Langue, C.G.; Lavaysse, C.; Flamant, C. Subseasonal forecasts of heat waves in West African cities. Natural Hazards and Earth System Sciences 2025, 25, 147–168. [Google Scholar] [CrossRef]
- Awe, O.; Dias, R.; Ajetunmobi, T.; Ayeni, O.; Oyanameh, O.; Agunloye, O.K. Time Series Forecasting of Seasonal Non-stationary Climate Data: A Comparative Study 2023, 335–350. [CrossRef]
- C3S.ERA5 hourly data on single levels from 1940 to present. 2018. [CrossRef]
- M.d.I.e.d.T. Direction Générale Météorologie Nationale. PLAN D’ACTION NATIONAL POUR LA MISE EN PLACE DU CADRE NATIONAL POUR LES SERVICES CLIMATOLOGIQUES (CNSC) AU TOGO. Technical report.
- Percival, D.B.; Walden, A.T. Wavelet Methods for Time Series Analysis; Cambridge University Press, 2000. [Google Scholar] [CrossRef]
- Mallat, S. A Wavelet Tour of Signal Processing; Academic Press, 1999. [Google Scholar] [CrossRef]
- Qin, Y.; Song, D.; Chen, H.; Cheng, W.; Jiang, G.; Cottrell, G. A Dual-Stage Attention-Based Recurrent Neural Network for Time Series Prediction. In Proceedings of the Proceedings of the 26th International Joint Conference on Artificial Intelligence (IJCAI), 2017. [Google Scholar] [CrossRef]
- Lim, B.; Arık, S.O.; Loeff, N.; Pfister, T. Temporal Fusion Transformers for Interpretable Multi-Horizon Time Series Forecasting. International Journal of Forecasting 2021, 37, 1748–1764. [Google Scholar] [CrossRef]
- Bandara, K.; Bergmeir, C.; Smyl, S. LSTM-Based Ensemble for Time Series Forecasting. International Journal of Forecasting 2020, 36, 86–99. [Google Scholar] [CrossRef]




| Metric | Value | Mean Value |
|---|---|---|
| MAE_temperature_2m (°C) | 0.352521 | |
| MAE_relative_humidity_2m (%) | 2.186118 | 1.210171 |
| MAE_wind_speed_10m (km/h) | 1.091873 | |
| RMSE_temperature_2m (°C) | 0.516662 | |
| RMSE_relative_humidity_2m (%) | 3.108643 | 1.713185 |
| RMSE_wind_speed_10m (km/h) | 1.514250 | |
| _temperature_2m (°C) | 0.978361 | |
| _relative_humidity_2m (%) | 0.984563 | 0.944284 |
| _wind_speed_10m (km/h) | 0.869928 |
| Model | MAE | RMSE | |
|---|---|---|---|
| LSTM | 1.78 | 2.45 | 0.82 |
| CNN-LSTM | 1.49 | 2.08 | 0.87 |
| Wavelet-MHA-LSTM | 1.21 | 2.01 | 0.94 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).