Surface Temperature Analysis and Forecasting in Bologna: A Machine Learning Approach
Contributors
Supervisor (3):
Description
Temperature forecasting is important under climate change, especially in Mediterranean cities such as Bologna where anomalies and seasonal shifts are becoming more pronounced. The aim of this project is to use various machine learning algorithms to analyze and predict daily surface temperature in Bologna using the ERA5 reanalysis dataset.
The study uses the ERA5 reanalysis dataset from 1952-2022. Sixteen time-series features were engineered (calendar variables, cyclical encoding, autoregressive lags, and rolling statistics). Gradient Boosting achieved the best performance for forecasting (RMSE 1.431°C; MAE 1.101°C), outperforming Random Forest, SARIMA, and naive baselines
Files
Surface Temperature Analysis and Forecasting in Bologna- A Machine Learning Approach.pdf
Additional details
Software
- Repository URL
- https://github.com/gezzzo/Surface-Temperature-Analysis-and-Forecasting-in-Bologna.git
- Programming language
- Python
References
- IPCC (2001) Impacts, Adaptation and Vulnerability, Contribution of Working Group II to the Third Assessment Report of the Intergovernmental Panel on Climate Change. Cambridge University Press, Cambridge.
- Brunetti M, Maugeri M, Nanni T. 2000B. Trends of minimum and maximum daily temperatures in Italy from 1865 to 1996 Theoretical and Applied Climatology: in press.
- IPCC (2021). Climate Change 2021: The Physical Science Basis. Contribution of Working Group I to the Sixth Assessment Report.
- Hersbach, H., et al. (2020). The ERA5 global reanalysis. Quarterly Journal of the Royal Meteorological Society, 146(730), 1999–2049.
- Box, G.E.P., et al. (2015) Time Series Analysis: Forecasting and Control. John Wiley & Sons, Hoboken.
- Breiman, L. (2001) Random Forests. Machine Learning, 45, 5-32.
- Friedman, J.H. (2001) Greedy Function Approximation: A Gradient Boosting Machine. Annals of Statistics, 29, 1189-1232.
- European Environment Agency (2019). Climate change adaptation in the agriculture sector in Europe.
- ECMWF. ERA5 Documentation. European Centre for Medium-Range Weather Forecasts.
- Hyndman, R. J., & Athanasopoulos, G. (2021). Forecasting: Principles and Practice (3rd ed.). OTexts.
- Brunetti, M., et al. (2006). Temperature and precipitation variability in Italy in the last two centuries from homogenised instrumental time series. International Journal of Climatology, 26(3), 345–381.
- Zhang, X., Alexander, L., et al. (2011) Indices for Monitoring Changes in Extremes Based on Daily Temperature and Precipitation Data. Wiley Interdisciplinary Reviews: Climate Change, 2, 851-870.
- Pedregosa, F., et al. (2011). Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research, 12, 2825–2830.
- Seabold, S., & Perktold, J. (2010). Statsmodels: Econometric and Statistical Modeling with Python. Proceedings of the 9th Python in Science Conference.
- Hoyer, S., & Hamman, J. (2017). xarray: N-D labeled arrays and datasets in Python. Journal of Open Research Software, 5(1).