Application of Deep Learning for the Analysis of the Spatiotemporal Prediction of Monthly Total Precipitation in the Boyacá Department, Colombia
Abstract
1. Introduction
Formulation of the Research Question
2. Materials and Methods
2.1. Dataset
2.2. Methodology
Case Study
- Step 1: Data Acquisition (ML)
- 2.
- Stage 2: Developmental Learning (DEV)
- 3.
- Stage 3: Monitoring and Supervision (OPS)
2.3. Evaluation Models
2.3.1. Autoregressive Integrated Moving Average (ARIMA) Model
2.3.2. Random Forest Regression (RF-R) Model
2.3.3. Long Short-Time Memory (LSTM) Neural Network Model
2.4. Evaluation Metrics
2.4.1. Root Mean Square Error (RMSE)
2.4.2. Mean Absolute Error (MAE)
2.4.3. Mean Absolute Percentage Error (MAPE)
2.4.4. R Square (R2)
3. Results
3.1. Development of Predictive Models
3.1.1. ARIMA Model Design
3.1.2. Random Forest Regression Design
3.1.3. LSTM-NN Model Design
3.2. LSTM-NN Model Implementation
- LSTM layer with 128 hidden units
- Rectified linear unit (ReLu) activation function
- Dense output layer
- Adam optimizer (adaptive moment estimation)
- Mean squared error (MSE) loss function
- Sliding windows method
LSTM-NN Forecast with a 48-Month Window
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Organización Meteorológica Mundial (OMM). Instituto Internacional de Investigación Sobre el Clima y la Sociedad (IRI). El Niño/La Niña Hoy. 2022. Available online: https://public.wmo.int/es/el-ni%C3%B1ola-ni%C3%B1a-hoy (accessed on 2 February 2024).
- Puebla, J.G. Big data and new geographies: The digital footprint of human activity. Doc. Anal. Georg. 2018, 64, 195–217. [Google Scholar] [CrossRef] [Scilit]
- Rodriguez, L. Teledetección Ambiental: La Observación de la Tierra Desde el Espacio. Entorno Geogr. 2016, 3, 194–195. [Google Scholar] [CrossRef] [Scilit]
- Organización Meteorológica Mundial (OMM). Organización Meteorológica Mundial. El Cambio Climático Pone en Riesgo la Seguridad Energética. 2022. Available online: https://www.portalambiental.com.mx/sabias-que/20221012/el-cambio-climatico-pone-en-riesgo-la-seguridad-energetica-del-mundo (accessed on 12 March 2024).
- La Organización Meteorológica Mundial Declara el Inicio de las Condiciones de El Niño. Available online: https://wmo.int/media/news/world-meteorological-organization-declares-onset-of-el-nino-conditions (accessed on 4 May 2024).
- Raval, M.; Sivashanmugam, P.; Pham, V.; Gohel, H.; Kaushik, A.; Wan, Y. Automated predictive analytics tool for rainfall forecasting. Sci. Rep. 2021, 11, 17704. [Google Scholar] [CrossRef] [Scilit]
- Zhang, H.; Loáiciga, H.A.; Ren, F.; Du, Q.; Ha, D. Semi-empirical prediction method for monthly precipitation prediction based on environmental factors and comparison with stochastic and machine learning models. Hydrol. Sci. J. 2020, 65, 1928–1942. [Google Scholar] [CrossRef] [Scilit]
- Balamurugan, M.S.; Manojkumar, R. Study of short-term rain forecasting using machine learning based approach. Wirel. Netw. 2021, 27, 5429–5434. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; He, Y.; Yang, H.; Wei, Y.; Li, S.; Xu, J. Rainfall prediction using optimally pruned extreme learning machines. Nat. Hazards 2021, 108, 799–817. [Google Scholar] [CrossRef] [Scilit]
- Xiong, Y.; Li, X.; Zhang, Q.; Wang, J.; Chen, H. Spatiotemporal Feature Fusion Transformer for Precipitation Nowcasting via Feature Crossing. J. Meteorol. Forecast. 2024, 16, 2685. [Google Scholar] [CrossRef] [Scilit]
- Yang, L.; Chen, Y.; Zhou, M.; Zhao, F.; Wang, Z. Monthly Runoff Prediction for Xijiang River via Gated Recurrent Unit, Discrete Wavelet Transform, and Variational Modal Decomposition. Water 2024, 16, 1552. [Google Scholar] [CrossRef] [Scilit]
- Magallanes-Quintanar, R.; Galván-Tejada, C.E.; Galván-Tejada, J.I.; Gamboa-Rosales, H.; Méndez-Gallegos, S.J.; García-Domínguez, A. Neural Hierarchical Interpolation for Standardized Precipitation Index Forecasting. Atmosphere 2024, 15, 912. [Google Scholar] [CrossRef] [Scilit]
- Yaseen, Z.M.; Ali, M.; Sharafati, A.; Al-Ansari, N.; Shahid, S. Forecasting standardized precipitation index using data intelligence models: Regional investigation of Bangladesh. Sci. Rep. 2021, 11, 3435. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Khan, M.I.; Maity, R. Hybrid Deep Learning Approach for Multi-Step-Ahead Daily Rainfall Prediction Using GCM Simulations. IEEE Access 2020, 8, 52774–52784. [Google Scholar] [CrossRef] [Scilit]
- Zhang, P.; Cao, W.; Li, W. Surface and high-altitude combined rainfall forecasting using convolutional neural network. Peer Peer Netw. Appl. 2021, 14, 1765–1777. [Google Scholar] [CrossRef] [Scilit]
- Xie, H.; Wu, L.; Xie, W.; Lin, Q.; Liu, M.; Lin, Y. Improving ECMWF short-term intensive rainfall forecasts using generative adversarial nets and deep belief networks. Atmos. Res. 2021, 249, 105281. [Google Scholar] [CrossRef] [Scilit]
- Poveda-Sotelo, Y.; Bermúdez-Cella, M.A.; Gil-Leguizamón, P. Evaluation of supervised classification methods for the estimation of spatiotemporal changes in the Merchán and Telecom paramos, Colombia. Bol. Geol. 2022, 44, 51–72. [Google Scholar] [CrossRef] [Scilit]
- Barraza, V.; Grings, F.; Perna, P.; Salvia, M.; Carbajo, A.E.; Ferrazzoli, P.; Karszenbaum, H. Monitoring and modeling land surface dynamics in Bermejo River Basin, Argentina: Time series analysis of MODIS and AMSR-E data. In Proceedings of the 2012 IEEE International Geoscience and Remote Sensing Symposium, Munich, Germany, 22–27 July 2012; pp. 6408–6411. [Google Scholar] [CrossRef] [Scilit]
- Maggioni, V.; Nikolopoulos, E.I.; Anagnostou, E.N.; Borga, M. Modeling satellite precipitation errors over mountainous terrain: The influence of gauge density, seasonality, and temporal resolution. IEEE Trans. Geosci. Remote Sens. 2017, 55, 4130–4140. [Google Scholar] [CrossRef]
- Micolini, O.; Ventre, L.O.; Martina, A.; Ayme, R.E.; Ortmann, N.J.; Trejo, B.G. A data-driven approach to weather forecast using convolutional neural networks. In Proceedings of the 2020 IEEE Congreso Bienal de Argentina, ARGENCON 2020—2020 IEEE Biennial Congress of Argentina, ARGENCON 2020, Resistencia, Argentina, 1–4 December 2020; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2020. [Google Scholar] [CrossRef] [Scilit]
- Barnes, A.P.; Kjeldsen, T.R.; McCullen, N. Video-Based Convolutional Neural Networks Forecasting for Rainfall Forecasting. IEEE Geosci. Remote Sens. Lett. 2022, 19, 1504605. [Google Scholar] [CrossRef] [Scilit]
- Ritvanen, J.; Harnist, B.; Aldana, M.; Makinen, T.; Pulkkinen, S. Advection-Free Convolutional Neural Network for Convective Rainfall Nowcasting. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2023, 16, 1654–1667. [Google Scholar] [CrossRef] [Scilit]
- Bouaziz, M.; Medhioub, E.; Csaplovisc, E. A machine learning model for drought tracking and forecasting using remote precipitation data and a standardized precipitation index from arid regions. J. Arid. Environ. 2021, 189, 104478. [Google Scholar] [CrossRef] [Scilit]
- Basha, C.Z.; Bhavana, N.; Bhavya, P.S.V. Rainfall Prediction using Machine Learning & Deep Learning Techniques. In Proceedings of the 2020 International Conference on Electronics and Sustainable Communication Systems (ICESC), Coimbatore, India, 2–4 July 2020; pp. 92–97. [Google Scholar] [CrossRef] [Scilit]
- Ahmed, H.A.Y.; Mohamed, S.W.A. Rainfall Prediction using Multiple Linear Regressions Model. In Proceedings of the 2020 International Conference on Computer, Control, Electrical, and Electronics Engineering, ICCCEEE 2020, Khartoum, Sudan, 26–28 February 2020; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2021. [Google Scholar] [CrossRef] [Scilit]
- Climate Hazards Center UC Santa Barbara Santa Barbara. CHIRPS: Rainfall Estimates from Rain Gauge and Satellite Observations. Available online: https://data.chc.ucsb.edu/products/CHIRPS-2.0/ (accessed on 12 May 2024).
- Python Software Foundation. Python. Available online: https://www.python.org/ (accessed on 12 May 2024).
- Google Research. Colaboratory. Available online: https://colab.research.google.com/ (accessed on 12 May 2024).
- Google Research. TensorFlow. Available online: https://www.tensorflow.org/ (accessed on 12 May 2024).
- Keras Authors. Keras. Available online: https://keras.io/ (accessed on 12 May 2024).
- Matplotlib Development Team. Matplotlib. Available online: https://matplotlib.org/ (accessed on 12 May 2024).
- Lizarazu-Alanez, E.; Villaseñor-Alva, J.A. Efectos de rompimientos bajo la hipótesis nula de la prueba dickey-fuller para raíz unitaria effects of breaks under the null hypothesis with the dickey-fuller test for unit root. Agrociencia 2007, 41, 193–203. [Google Scholar]
- Adebiyi, A.A.; Adewumi, A.O.; Ayo, C.K. Stock price prediction using the ARIMA model. In Proceedings of the UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, UKSim 2014, Cambridge, UK, 26–28 March 2014; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2014; pp. 106–112. [Google Scholar] [CrossRef] [Scilit]
- Du, Y. Application and analysis of forecasting stock price index based on combination of ARIMA model and BP neural network. In Proceedings of the 2018 Chinese Control and Decision Conference (CCDC), Shenyang, China, 9–11 June 2018; pp. 2854–2857. [Google Scholar] [CrossRef] [Scilit]
- Zhu, X.; Shen, M. Based on the ARIMA model with grey theory for short term load forecasting model. In Proceedings of the 2012 International Conference on Systems and Informatics (ICSAI2012), Yantai, China, 19–20 May 2012; pp. 564–567. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [Scilit]
- Sunny, M.A.I.; Maswood, M.M.S.; Alharbi, A.G. Deep Learning-Based Stock Price Prediction Using LSTM and Bi-Directional LSTM Model. In Proceedings of the 2nd Novel Intelligent and Leading Emerging Sciences Conference, NILES 2020, Giza, Egypt, 24–26 October 2020; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2020; pp. 87–92. [Google Scholar] [CrossRef] [Scilit]
- Wang, A.; Ren, C. Prediction of receiving field strength based on SVM-LSTM hybrid model in the coal mine. In Proceedings of the 2021 IEEE 3rd International Conference on Communications, Information System and Computer Engineering, CISCE 2021, Beijing, China, 14–16 May 2021; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2021; pp. 813–816. [Google Scholar] [CrossRef] [Scilit]
- Vignesh, V.; Pavithra, D.; Dinakaran, K.; Thirumalai, C. Data analysis using Box and Whisker plot for Stationary shop analysis. In Proceedings of the 2017 International Conference on Trends in Electronics and Informatics (ICEI), Tirunelveli, India, 11–12 May 2017. [Google Scholar] [CrossRef]
- Singarimbun, R.N.; Nababan, E.B.; Sitompul, O.S. Adaptive Moment Estimation to Minimize Square Error in Backpropagation Algorithm. In Proceedings of the 2019 International Conference of Computer Science and Information Technology, ICoSNIKOM 2019, Medan, Indonesia, 28–29 November 2019; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2019. [Google Scholar] [CrossRef] [Scilit]
- Dash, S.; Das, S.R. Analysis of BER and MSE performance in nonlinear equalization using modified recurrent network. In Proceedings of the IET Chennai Fourth International Conference on Sustainable Energy and Intelligent Systems (SEISCON 2013), Chennai, India, 12–14 December 2013; pp. 292–296. [Google Scholar] [CrossRef] [Scilit]
- Uroševićy, V.; Dimitrijević, S. Optimum input sequence size for a sliding window-based LSTM neural network used in short-term electrical load forecasting. In Proceedings of the 2021 29th Telecommunications Forum (TELFOR), Belgrade, Serbia, 23–24 November 2021; pp. 1–4. [Google Scholar] [CrossRef] [Scilit]

















| Author | Technique | Measure Precision | Dataset | Place/Time |
|---|---|---|---|---|
| [22] | L-CNN | POD, FAR, ETS, MAE, ME | 11 polarimetric Doppler radars that operate in the C-band | Daily precipitation from 2019 to 2021 in Finland |
| [23] | ELM | RMSE, MAE, R2, RPD | SPI CHIRPS 2.0 climatology project | 12-, 15-, 18-, and 24-month rainfall from 1981 to 2019 in Eastern Tunisia (the Mediterranean) |
| [24] | MLP and AUTO- ENCODERS | RMSE, MSE | - | Weather stations in India |
| [25] | LSTM and ConvNet | RMSE | Rainfall Climatology Project Global (GPCP) | Monthly precipitation from 1979 to 2018 globally |
| Model | RMSE | MAE | MAPE | |
|---|---|---|---|---|
| ARIMA (4,1,0) (2,1,0) (12) | 27.98 | 15.96 | 17.30 | 0.81 |
| RANDOM FOREST (regression) | 23.21 | 12.07 | 11.25 | 0.87 |
| LSTM-NN | 19.43 | 10.39 | 9.68 | 0.92 |
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. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Niño Medina, J.S.; Suarez Barón, M.J.; Reyes Suarez, J.A. Application of Deep Learning for the Analysis of the Spatiotemporal Prediction of Monthly Total Precipitation in the Boyacá Department, Colombia. Hydrology 2024, 11, 127. https://doi.org/10.3390/hydrology11080127
Niño Medina JS, Suarez Barón MJ, Reyes Suarez JA. Application of Deep Learning for the Analysis of the Spatiotemporal Prediction of Monthly Total Precipitation in the Boyacá Department, Colombia. Hydrology. 2024; 11(8):127. https://doi.org/10.3390/hydrology11080127
Chicago/Turabian StyleNiño Medina, Johann Santiago, Marcó Javier Suarez Barón, and José Antonio Reyes Suarez. 2024. "Application of Deep Learning for the Analysis of the Spatiotemporal Prediction of Monthly Total Precipitation in the Boyacá Department, Colombia" Hydrology 11, no. 8: 127. https://doi.org/10.3390/hydrology11080127
APA StyleNiño Medina, J. S., Suarez Barón, M. J., & Reyes Suarez, J. A. (2024). Application of Deep Learning for the Analysis of the Spatiotemporal Prediction of Monthly Total Precipitation in the Boyacá Department, Colombia. Hydrology, 11(8), 127. https://doi.org/10.3390/hydrology11080127

