Data-Driven Forecasting of Solar and Geomagnetic Activity Using Relative Sunspot Numbers

Document Type : Research Paper

Authors

Faculty of Physics, University of Tabriz, PO Box 51666-16471, Tabriz, Iran

Abstract

Accurate modeling and forecasting of solar and geomagnetic activity is essential for advancing our fundamental understanding of solar-terrestrial interactions and magnetospheric dynamics. In this study, we propose a computational approach based on a Long Short-Term Memory (LSTM) neural network for predicting the 10.7 cm solar radio flux (\textnormal{F10.7}) and four widely used geomagnetic indices (\textit{K}\textsubscript{\textit{p}}, {\itshape Dst}, {\itshape ap}, and {\itshape AE}) using the Relative Sunspot Number (RSSN) as the primary input. To enhance the model's predictive capability, we introduce a physically motivated feature engineering strategy that incorporates nonlinear and temporal characteristics of solar dynamics, including quadratic and rolling-average features, as well as autoregressive information for each target variable. We employ a strictly leak-free Purged-Embargo validation strategy to prevent information leakage during model development. We evaluate the framework using hourly observations from 1 January 2000 to 10 January 2026, covering Solar Cycles 23, 24, and 25. Our proposed model achieves excellent predictive performance for the \textnormal{F10.7} and {\itshape Dst} indices, with coefficients of determination $R^2$ of 0.9639 and 0.9584, respectively. Good agreement is also obtained for the \textit{K}\textsubscript{\textit{p}} and {\itshape ap} indices ($R^2$ = 0.8642 and 0.8622), while the more dynamic {\itshape AE} index reaches an $R^2$ of 0.6939. These results demonstrate that the proposed framework provides an accurate and robust approach for forecasting solar and geomagnetic activity from a minimal set of input observations.

Keywords


[1] Hood, A. W., & Hughes, D. W. 2011, Physics of the Earth and Planetary Interiors, 187, 78, special Issue: Planetary Magnetism, Dynamo and Dynamics.
[
2] Wiegelmann, T., Thalmann, J. K., & Solanki, S. K. 2014, A&A Rev., 22, 78.
[3] Charbonneau, P. 2014, ARA&A, 52, 251.
[4] Clette, F., et al. 2007, Advances in Space Research, 40, 919.
[5] Hathaway, D. H. 2010, Living Reviews in Solar Physics, 7, 1.
[6] Clette, F., Svalgaard, L., Vaquero, J. M., & Cliver, E. W. 2014, Space Sci. Rev., 186, 35.
[7] Schwabe, H. 1844, Astronomische Nachrichten, 21, 233.
[8] Hale, G. E. 1908, ApJ, 28, 315.
[9] Mayaud, P.-N. 1972, J. Geophys. Res., 77, 6870.
[10] Bergin, A., Chapman, S., Gjerloev, J., & Watkins, N. 2019, EGU General Assembly Conference Abstracts, EGU General Assembly Conference Abstracts.
[11] Echer, E., Gonzalez, W. D., Tsurutani, B. T., & Gonzalez, A. L. C. 2008, J. Geophysical Research (Space Physics), 113, A05221.
[12] Verbanac, G., Mandea, M., Vršnak, B., & Sentic, S. 2011, Sol. Phys., 271, 183.
[13] Webb, D. 1995, Advances in Space Research, 16, 57.
[14] Richardson, I. G., Cliver, E. W., & Cane, H. V. 2000, J. Geophys. Res., 105, 18,203.
[15] Tsurutani, B. T., et al. 2006, J. Geophysical Research (Space Physics), 111, A07S01.
[16] Ohl, A. I. Forecast of Sunspot Maximum Number of Cycle 20, 1966, in Russian.
[17] Ohl, A. I., & Ohl, G. I. 1979, NOAA Solar-Terrestrial Predictions Proceedings. Volume 2.
[
18] Feynman, J. 1982, J. Geophys. Res., 87, 6153.
[19] Hathaway, D. H., & Wilson, R. M. 2006, Geophysical Research Letters, 33.
[20] Petrovay, K. 2020, Living Reviews in Solar Physics, 17, 2.
[21] Echer, E., et al. 2004, J. Atmospheric and Solar-Terrestrial Physics, 66, 1019.
[22] Falayi, E. O., & Rabiu, B. A. 2013, Acta Geophysica, 61, 211.
[23] Arora, K., Chandrasekhar, N. P., Nagarajan, N., & Singh, A. 2014, J. Atmospheric and Solar-Terrestrial Physics, 114, 19.
[24] Singh, Y. P., & Badruddin 2014, Planet. Space Sci., 96, 120.
[25] Rathore, B., et al. 2012, Indian J. Physics, 86, 563.
[26] 2018, Machine Learning Techniques for Space Weather, edited by Camporeale, E., Wing, S., & Johnson, J. R. Elsevier.
[27] Camporeale, E. 2019, Space weather, 17, 1166.
[28] Camporeale, E., & of ML-Helio, S. O. C. 2020, J. Geophysical Research: Space Physics, 125, e2019JA027502.
[29] Kitiashvili, I. N., et al. 2020, SAO/NASA Astrophysics Data System.
[30] Upendran, V., et al. 2022, Space Weather, 20, e2022SW003045.
[31] Nair, M., et al. 2023, Space Weather, 21, e2023SW003514.
[32] Guastavino, S., et al. 2024, The Astrophysical Journal, 971, 94.
[33] LI, S., et al. 2025, Chinese J. Space Science, 45, 641.
[34] Ranjbar, S., & Taran, S. 2026, IJAA, 12, 323.
[35] Friedli, T. K. 2016, Sol. Phys., 291, 2505.
[36] NOAA National Centers for Environmental Information Geomagnetic Indices and Data, https://www.ncei.noaa.gov/products/geomagnetic-indices, 2026, accessed 2026- 07-15.
[37] Tapping, K. 2013, Space weather, 11, 394.
[38] Hathaway, D. H. 2015, Living reviews in solar physics, 12, 4.
[39] Gonzalez, W., et al. 1994, J. Geophysical Research: Space Physics, 99, 5771.
[40] Kivelson, M. G., & Russell, C. T. 1995, Introduction to Space Physics, Cambridge University Press.
[41] Hathaway, D. H. 2015, Living Reviews in Solar Physics, 12, 4.
[42] Wang, R., Wang, J., Liang, T., & Zhang, H. 2024, Space Weather, 22, e2024SW004002.
[43] Pulkkinen, T. 2007, Living Reviews in Solar Physics, 4, 1.