RAINFALL ANALYSIS AND FORECASTING USING THE PROPHET METHOD ON TIME SERIES DATA
Published:
2026-04-27Downloads
Abstract
Climate change has increased rainfall variability, making it more difficult to predict rainfall patterns in terms of intensity, duration, and spatial distribution. This study aims to develop a daily rainfall forecasting model using the Prophet method, which is capable of handling seasonal patterns and long-term trends in time series data. The data used consist of daily rainfall records from 2015 to 2025 across nine regions in Bali Province, obtained from the NASA POWER platform. The research methodology includes data collection, data preprocessing, exploratory data analysis (EDA), Prophet model development with parameter optimization, cross-validation, and forecasting. Model performance is evaluated using Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) metrics on test data. The results indicate that the Prophet method is capable of effectively modeling seasonal patterns and rainfall trends, producing stable predictions for future periods. This forecasting system is expected to serve as a decision-support tool in agriculture, water resource management, and hydrometeorological disaster mitigation.
Keywords:
Rainfall Prophet Time Series Forecasting BaliReferences
[1] P. V. V. Le et al., “Climate-driven changes in the predictability of seasonal precipitation,” Nat Commun, vol. 14, no. 1, p. 3822, Jun. 2023, doi: 10.1038/s41467-023-39463-9.
[2] M. M. Hossain, A. H. M. F. Anwar, N. Garg, M. Prakash, and M. Bari, “Monthly Rainfall Prediction at Catchment Level with the Facebook Prophet Model Using Observed and CMIP5 Decadal Data,” Hydrology, vol. 9, no. 6, p. 111, Jun. 2022, doi: 10.3390/hydrology9060111.
[3] F. A. F. Sham, A. El-Shafie, W. Z. W. Jaafar, A. S, M. Sherif, and A. N. Ahmed, “Advances in AI-based rainfall forecasting: a comprehensive review of past, present, and future directions with intelligent data fusion and climate change models,” Results in Engineering, vol. 27, p. 105774, Sep. 2025, doi: 10.1016/j.rineng.2025.105774.
[4] Intergovernmental Panel On Climate Change (Ipcc), Climate Change 2021 – The Physical Science Basis: Working Group I Contribution to the Sixth Assessment Report of the Intergovernmental Panel on Climate Change, 1st ed. Cambridge University Press, 2023. doi: 10.1017/9781009157896.
[5] V. S. A. Hendrawan, A. P. Rahardjo, H. G. Mawandha, E. Aldrian, A. Muhari, and D. Komori, “Review article: Past and future climate–related hazards in Indonesia,” Jun. 10, 2025, Atmospheric, Meteorological and Climatological Hazards. doi: 10.5194/egusphere-2025-584.
[6] R. Ramadhan, M. Marzuki, W. Suryanto, S. Sholihun, H. Yusnaini, and R. Muharsyah, “Rainfall variability in Indonesia new capital associated with the Madden-Julian Oscillation and its contribution to flood events,” Quaternary Science Advances, vol. 13, p. 100163, Jan. 2024, doi: 10.1016/j.qsa.2024.100163.
[7] G. Ferreira, M. Reboita, J. Ribeiro, and C. De Souza, “Assessment of Precipitation and Hydrological Droughts in South America through Statistically Downscaled CMIP6 Projections,” Climate, vol. 11, no. 8, p. 166, Aug. 2023, doi: 10.3390/cli11080166.
[8] M. El Hafyani, K. El Himdi, and S.-E. El Adlouni, “Improving monthly precipitation prediction accuracy using machine learning models: a multi-view stacking learning technique,” Front. Water, vol. 6, p. 1378598, May 2024, doi: 10.3389/frwa.2024.1378598.
[9] M. Waqas, U. W. Humphries, A. Wangwongchai, P. Dechpichai, and S. Ahmad, “Potential of Artificial Intelligence-Based Techniques for Rainfall Forecasting in Thailand: A Comprehensive Review,” Water, vol. 15, no. 16, p. 2979, Aug. 2023, doi: 10.3390/w15162979.
[10] L. Chaka, M. A. M. Abd Elbasit, and S. Jombo, “Predicting precipitation using dynamic distributed lag models in arid and sub-humid regions of South Africa,” Scientific African, vol. 29, p. e02924, Sep. 2025, doi: 10.1016/j.sciaf.2025.e02924.
[11] M Shochibul Burhan, Mohamad Nur Cholis, Achmad Latifudin, and Mahendra Widikara Tri Nugroho, “Rainfall Prediction Using Naïve Bayes and K-Means Algorithms in Malang Region,” antivirus, vol. 17, no. 2, pp. 252–260, Nov. 2023, doi: 10.35457/antivirus.v17i2.3205.
[12] G. Jesus, Z. Mardani, E. Alves, and A. Oliveira, “Deep Learning-Based River Flow Forecasting with MLPs: Comparative Exploratory Analysis Applied to the Tejo and the Mondego Rivers,” Sensors, vol. 25, no. 7, p. 2154, Mar. 2025, doi: 10.3390/s25072154.
[13] M. F. Allawi et al., “Monthly rainfall forecasting modelling based on advanced machine learning methods: tropical region as case study,” Engineering Applications of Computational Fluid Mechanics, vol. 17, no. 1, p. 2243090, Dec. 2023, doi: 10.1080/19942060.2023.2243090.
[14] S. D. Latif et al., “Assessing rainfall prediction models: Exploring the advantages of machine learning and remote sensing approaches,” Alexandria Engineering Journal, vol. 82, pp. 16–25, Nov. 2023, doi: 10.1016/j.aej.2023.09.060.
[15] D. Fronzi, G. Narang, A. Galdelli, A. Pepi, A. Mancini, and A. Tazioli, “Towards Groundwater-Level Prediction Using Prophet Forecasting Method by Exploiting a High-Resolution Hydrogeological Monitoring System,” Water, vol. 16, no. 1, p. 152, Dec. 2023, doi: 10.3390/w16010152.
[16] M. Ramadita, Mahmudi, and M. Y. Wijaya, “Prediksi Curah Hujan di DKI Jakarta Menggunakan Model Hybrid (DWT-SVR-Prophet),” ijcs, vol. 13, no. 5, Sep. 2024, doi: 10.33022/ijcs.v13i5.4357.
[17] S. Sulis and Eri Zuliarso, “Decade Rainfall Prediction Using Prophet Algorithm and LSTM (Case Study in Banjarnegara Regency),” ISI, vol. 10, no. 3, pp. 1432–1443, Aug. 2025, doi: 10.35314/j3mbxq89.
[18] D. Li et al., “Prediction of Rainfall Time Series Using the Hybrid DWT-SVR-Prophet Model,” Water, vol. 15, no. 10, p. 1935, May 2023, doi: 10.3390/w15101935.
[19] W. Sulandari, Y. Yudhanto, S. Subanti, E. Zukhronah, and M. Z. Subarkah, “Implementing Time Series Cross Validation to Evaluate the Forecasting Model Performance,” KLS, Mar. 2024, doi: 10.18502/kls.v8i1.15584.
[20] S. Meisenbacher et al., “Review of automated time series forecasting pipelines,” WIREs Data Min & Knowl, vol. 12, no. 6, p. e1475, Nov. 2022, doi: 10.1002/widm.1475.
[21] A. S. AlSalehy and M. Bailey, “Improving Time Series Data Quality: Identifying Outliers and Handling Missing Values in a Multilocation Gas and Weather Dataset,” Smart Cities, vol. 8, no. 3, p. 82, May 2025, doi: 10.3390/smartcities8030082.
[22] E. Antony, S. N S, S. K. R K, and N. T, “Data Preprocessing Techniques for Handling Time Series data for Environmental Science Studies,” IJETT, vol. 69, no. 5, pp. 196–207, May 2021, doi: 10.14445/22315381/IJETT-V69I5P227.
[23] E. Pane et al., “Description of Some Microalgae Isolates Captured from Sumatra Island, Indonesia,” IOP Conf. Ser.: Earth Environ. Sci., vol. 1191, no. 1, p. 012014, May 2023, doi: 10.1088/1755-1315/1191/1/012014.
License
Copyright (c) 2026 Ni Komang Sintya Dewi, Adie Wahyudi Oktavia Gama

This work is licensed under a Creative Commons Attribution 4.0 International License.




