Evaluation of the XGBoost Model for Rainfall Prediction and Classification Using BMKG Data and OpenWeather API

Indonesia, situated between two continents and two oceans, experiences significant climate variability, with rainfall patterns shaped by geographical and topographical factors, as well as phenomena like the El Niño Southern Oscillation (ENSO). Accurate rainfall forecasting plays a critical role in disaster mitigation, agricultural planning, and water resource management. This study focuses on developing a rainfall prediction and classification model using the Extreme Gradient Boosting (XGBoost) algorithm. The model leverages historical rainfall data from the Indonesian Meteorological, Climatological, and Geophysical Agency (BMKG) and real-time data from the OpenWeather API. The output includes rainfall trend graphs and classification of rainfall intensity into categories such as light, moderate, or heavy. Model performance is assessed through metrics like accuracy, precision, RMS (Root Mean Square), and RMSE (Root Mean Square Error). This research highlights the integration of historical and real-time data for weather forecasting and demonstrates the application of advanced machine learning techniques like XGBoost to build robust and precise prediction models. The findings are expected to offer practical insights for disaster risk reduction, agricultural strategy planning, and effective water resource management.

Authors

Publication Details

Journal
Journal of Computation Physics and Earth Science (JoCPES)
Published
2025-03-09
DOI
https://doi.org/10.63581/jocpes.v5i1.03
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluation of the XGBoost Model for Rainfall Prediction and Classification Using BMKG Data and OpenWeather API

Nardi Nardi, Muhammad Saori Isjayan Syah, Agustina Rachmawardani
Journal of Computation Physics and Earth Science (JoCPES)
Hydrological Forecasting Using AI
article

Evaluation of the XGBoost Model for Rainfall Prediction and Classification Using BMKG Data and OpenWeather API

Nardi Nardi, Muhammad Saori Isjayan Syah, Agustina Rachmawardani
article en

Abstract

Indonesia, situated between two continents and two oceans, experiences significant climate variability, with rainfall patterns shaped by geographical and topographical factors, as well as phenomena like the El Niño Southern Oscillation (ENSO). Accurate rainfall forecasting plays a critical role in disaster mitigation, agricultural planning, and water resource management. This study focuses on developing a rainfall prediction and classification model using the Extreme Gradient Boosting (XGBoost) algorithm. The model leverages historical rainfall data from the Indonesian Meteorological, Climatological, and Geophysical Agency (BMKG) and real-time data from the OpenWeather API. The output includes rainfall trend graphs and classification of rainfall intensity into categories such as light, moderate, or heavy. Model performance is assessed through metrics like accuracy, precision, RMS (Root Mean Square), and RMSE (Root Mean Square Error). This research highlights the integration of historical and real-time data for weather forecasting and demonstrates the application of advanced machine learning techniques like XGBoost to build robust and precise prediction models. The findings are expected to offer practical insights for disaster risk reduction, agricultural strategy planning, and effective water resource management.

Journal of Computation Physics and Earth Science (JoCPES)Vol. 5(1)
Openalex Percentile: Top 91%
Hydrological Forecasting Using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.