Journal of Climate Research

Journal of Climate Research

Comparison Between Quantile Mapping Downscaling Method and Random Forest Model

Document Type : Original Article

Authors
1 PhD student in Water Resources, Department of Water Science and Engineering, Faculty of Agriculture, University of Birjand, Birjand, Iran & Expert of soil and water, Agriculture and Natural Resources Research Center of South Khorasan
2 Associate Professor, Department of Water Science and Engineering, Faculty of Agriculture, University of Birjand, Birjand, Iran
3 MSc in Water Resources Engineering, South Khorasan Regional Water Company, Water Resources Management Company, Birjand, Iran
10.22034/jcr.2026.544319.1713
Abstract
Comparison Between Quantile Mapping Downscaling Method and Random Forest Model

Extended abstract

Introduction

Accurate prediction of daily minimum air temperature in regions with complex topography, where elevation and terrain irregularities play a significant role in temperature variability, is of great importance due to its direct relationship with frost periods. However, Global Climate Models (GCMs), owing to their coarse spatial resolution and inherent systematic biases, are unable to accurately represent regional climatic processes and therefore require bias correction. In recent years, statistical models and machine learning approaches have attracted considerable attention for bias correction and downscaling. Nevertheless, to date, no study has been conducted comparing these models in predicting minimum temperature across Iran.

Materials and Methods

In this study, monthly data from the Birjand synoptic station for the period 1991–2020 were used as observational records to compare the quantile mapping and random forest methods. Additionally, output from the IPSL-CM6A-LR climate model of the CMIP6 project under the SSP2-4.5 scenario was employed for the historical period (1991–2020) and future projections (2030–2059). For the statistical quantile mapping approach in the R environment, the Qmap package with the asymmetric exponential transfer function (expasympt) was applied, while the machine learning model utilized the Random Forest package. The performance of both models was evaluated using statistical metrics including R², RMSE, MAE, NSE, and KGE, as well as through analysis of empirical cumulative distribution function (ECDF) plots and scatter diagrams.

Results and Discussion

In this study, bias correction of monthly minimum temperature at the Birjand synoptic station was examined using two different approaches. The statistical BCSD method employed the asymmetric exponential transfer function (expasympt) from the Qmap package, while the machine learning approach utilized the Random Forest algorithm. The data from 1991–2010 were used for calibration, and the period 2011–2020 was considered for validation. The evaluation of the two methods during the validation period (2011–2020) was carried out using statistical indices and analytical diagrams.

The results indicated that the Random Forest model (R² = 0.94, NSE = 0.93, KGE = 0.91) showed a higher agreement with the observed data compared to the BCSD method (R² = 0.90, NSE = 0.90, KGE = 0.90). Furthermore, the error metrics of the Random Forest model (RMSE = 1.96 °C, MAE = 1.63 °C) indicated lower prediction errors compared to the BCSD method (RMSE = 2.39 °C, MAE = 1.93 °C). In the comparison of scatter plots, the Random Forest model was able to establish a nearly linear relationship close to the 1:1 line between predicted and observed values, whereas the BCSD results showed greater dispersion and deviation from perfect correlation. Similarly, in the empirical cumulative distribution function (ECDF) plots, the Random Forest model closely matched the observational curve and more accurately reproduced the statistical distribution of minimum temperature particularly in the middle and upper portions of the distribution (moderate to warmer temperatures) compared to the BCSD model. In contrast, the BCSD approach performed less effectively in the lower tail of the distribution (colder temperatures).The superior performance of the Random Forest model can be attributed to its inherent structure, which leverages an ensemble of decision trees and aggregates their outputs, enabling it to identify and generalize hidden, non-linear relationships between input and output variables. This capability is particularly advantageous in climate datasets influenced by complex and variable factors. In contrast, the BCSD method, relying on predefined transfer functions and lacking the ability to learn data-driven relationships, cannot provide the same level of adaptability and precision.Based on the statistical evidence obtained in this research, the Random Forest model demonstrates strong potential for bias correction of climate data, particularly minimum temperature, and offers greater accuracy and stability compared to traditional statistical methods.

Conclusion

The findings of this study demonstrate that the Random Forest (RF) model possesses the capability to capture complex and nonlinear relationships, leading to superior performance in bias correction of minimum temperature values compared to the Quantile Mapping (QM) model. Therefore, employing machine learning algorithms such as RF can be an effective approach for improving climate predictions in arid regions like Iran. It is recommended that future research explore more advanced models, including XGBoost, deep neural networks, and hybrid methods.

Keywords:

Bias correction, downscaling, Coupled Model Intercomparison Project Phase 6 (CMIP6), quantile mapping, machine learning.
Keywords

1.     Abedini, E., Mousavi bayegi, M., Khashei siuki, A., & Selahvarzi, Y. 2022. Investigating the Trend of extreme Temperature Events Based on the Fifth IPCC Report (Case Study: South Khorasan Province). Journal of Climate Research, 1400(48), 1-22.
2.     Ahmadalipour, A., Rana, A., Moradkhani, H., & Sharma, A. 2017. Multi-criteria evaluation of CMIP5 GCMs for climate change impact analysis. Theoretical and Applied Climatology, 128, 71–87. Available from: https://doi.org/10.1007/s00704-015-1695-4.
3.     Ahmed, K., Shahid, S. & Harun, S. 2015. Statistical downscaling of rainfall in an arid coastal region: a radial basis function neural network approach. Applied Mechanics and Materials, 735, 190– 194. `
4.     Amini, S., Azizian, A., & Arasteh, P. D. 2020. Improving the performance of global rainfall forecasting systems in different climate areas of Iran using quantile mapping method. Iranian Journal of Soil and Water Research, 51(9):2275-2291. 10.22059/IJSWR.2020.302208.668602.
5.     Azari, B., Hasan, K., Pierce, J., & Ebrahimi, S. 2022. Evaluation of machine learning methods application in temperature prediction. Computational Research Progress in Applied Science and Engineering, 8(1),1-12. DOI:10.52547/crpase.8.1.2747.
6.     Ansari, S., Dehban, H., Zareian, M., & Farokhnia, A. 2022. Investigation of temperature and precipitation changes in the Iran's basins in the next 20 years based on the output of CMIP6 model. Iranian Water Researches Journal, 16(1), 11-24. https://doi.org/10.22034/iwrj.2022.11204.
7.     Breiman, L. 2001. Random forests. Machine Learning, 45, 5–32. Available from: https://doi.org/10.1023/A:1010933404324
8.     Beyer, R., Krapp, M., & Manica, A. 2020. An empirical evaluation of bias correction methods for palaeoclimate simulations. Climate of the Past, 16, 1493–1508. https://doi.org/10.5194/cp-16-1493-2020
9.     Barooni, M., Ziarati, K., & Barooni, A. 2023. Frost Prediction Using Machine Learning Methods in Fars Province. In Proceedings of the 2023 28th International Computer Conference, Computer Society of Iran (CSICC), Tehran, Iran, 25–26 January 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1–6.
10.  Chai, T., & Draxler, R. R. 2014. Root mean square error (RMSE) or mean absolute error (MAE) Arguments against avoiding RMSE in the literature. Geoscientific model development, 7(3), 1247-1250. https://doi.org/10.5194/gmd-7-1247-2014, 2014.
11.  Chu, J. L., Kang, H., Tam, C. Y., Park, C. K., & Chen, C. T. 2008. Seasonal forecast for local precipitation over northern Taiwan using statistical downscaling. Journal of Geophysical Research Atmospheres, 113, D12118. https://doi.org/10.1029/2007JD009424.
12. Chen, S.T., Yu, P.S., & Tang, Y.H. 2010. Statistical downscaling of daily precipitation using support vector machines and multivariate analysis. Journal of Hydrology, 385, 13–22. https://doi.org/10.1016/j.jhydrol.2010.01.021
13. Chamanehfar, S., Baygi, MM., Modaresi, F., & Babaeian, I. 2024. Near future variations in temperature extremes in northeastern Iran under CMIP6 projections. Environ Monit Assess. 23;196(10):972. doi: 10.1007/s10661-024-13125-9.
14. Conangla, L., Cuxart, J., Jimenez, M.A., Martinez-Villagrasa, D., Miro, J.R., Tabarelli, D. & Zardi, D. 2018. Cold-air pool evolution in a wide Pyrenean valley. journal Climatology, 38, 2852–2865.  https://doi.org/10.1002/joc.5467.
15. Crespi, A., Petitta, M., Marson, P., Viel, C. & Grigis, L. 2021. Verification and bias adjustment of ECMWF SEAS5 seasonal forecasts over Europe for climate service applications. Climate, 9(12), 181.  https://doi.org/10.3390/cli9120181.
16. Das, P., Zhang, Z. & Ren, h. 2022. Evaluation of four bias correction methods and random forest model for climate change projection in the Mara River Basin, East Africa. Journal of Water and Climate Change.13(4), https://doi.org/10.2166/wcc.2022.299
17. DeWekker, S.F., Kossmann, M., Knievel, J.C., Giovannini, L., Gutmann, E.D. & Zardi, D. 2018. Meteorological applications benefiting from an improved understanding of atmospheric exchange processes over mountains. Atmosphere. 9(10), 371. https://doi.org/10.3390/atmos9100371.
18. Diedrichs, A.L., Bromberg, F., Dujovne, D., Brun-Laguna, K. & Watteyne, T. 2018. Prediction of frost events using Bayesian networks and Random Forest. IEEE Internet Things J. 5, 4589–4597. https://doi.org/10.1109/JIOT.2018.2867333.
19. Duhan, D. & Pandey, A. 2015. Statistical downscaling of temperature using three techniques in the Tons River basin in Central India.Theor. Appl. Climatol. 121, 605–622. DOI:10.1007/s00704-014-1253-5.
20. Eccel, E., Ghielmi, L., Granitto, P., Barbiero, R., Grazzini, F. & Cesari, D. 2007. Prediction of minimum temperatures in an alpine region by linear and non-linear post-processing of meteorological models. Nonlinear Process in Geophysics. 14, 211–222. https://doi.org/10.5194/npg-14-211-2007.
21. Eekhout, J.P.C. & de Vente, J. 2019. The implications of bias correction methods and climate model ensembles on soil erosion projections under climate change. Earth Surface Processes and Landforms, 44, 1137–1147. Available from: https://doi.org/10. 1002/esp.4563.
22. Fan, X., Duan, Q., Shen, C., Wu, Y. & Xing, C. 2022. Evaluation of historical CMIP6 model simulations and future projections of temperature over the Pan-Third Pole region. Environmental Science and Pollution Research, 29, 26214–26229. Available from: https://doi.org/10.1007/s11356-021-17474-7.
23. Forouzanmehr, M., & Shahidi, A. 2022. Evaluation of downscaling methods for minimum and maximum temperature parameters (Case study: Birjand and Rasht synoptic stations). Journal of Climatological Research, 13(49), 7–22. .
24. Javaherian, MR., Ebeahimi, H. & Amininezhad, B. 2020. Prediction of changes in climatic parameters using CanESM2 model based on Rcp scenarios (case study): Lar dam basin. Ain Shams Engineering Journal, 12(1), 445-454. https://doi.org/10.1016/j.asej.2020.04.012
25. Kouzegaran, S., Mousavi Baygi, M., & Babaeian, I. 2024. Temperature extreme indices projection based on RCP scenarios in northeast of Iran. Journal of Water and Soil.34(6).  https://doi.org/10.22067/jsw.v34i6.85845. .
26. Maraun, D. 2016. Bias correcting climate change simulations-a critical review. Current Climate Change Reports 2:211-220. DOI:10.1007/s40641-016-0050-x.
27.  Nash, J.E. & Sutclife, J.V. 1970. River flow forecasting through conceptual models' part I—A discussion of principles. Journal of Hydrology, 10(3), 282–290. https://doi.org/10.1016/0022-1694(70)90255-6.
28. Noor, M., Ismail, T. & Ullah, S. 2020. A non-local model output statistics approach for the downscaling of CMIP5 GCMs for the projection of rainfall in Peninsular Malaysia. Journal Water Climate, 11(4), 944–955. https://doi.org/10.2166/wcc. 2019.041.
29. Nourani, V., Razzaghzadeh, Z., Baghanam, A.H. & Molajou, A. 2019. ANN-based statistical downscaling of climatic parameters using decision tree predictor screening method. Theoretical and Appiled Climatology, 137, 1729–1746.  DOI:10.1007/s00704-018-2686-z
30. Nouri, M., Morid, S., Karimi, N. & Gholami, H. 2021. Spatial and temporal variation of temperature and precipitation trends of Aras transboundary river basin. Iran-Water Resources Research 17(3):104-117.
31.  Ostad-Ali-Askari, K., Ghorbanizadeh Kharazi, H., Shayannejad, M. & Zareian, M. J. 2020. Effect of climate change on precipitation patterns in an arid region using GCM models: case study of Isfahan-Borkhar Plain. Natural Hazards Review, 21(2), 04020006. https://doi.org/10.1061/ (ASCE)NH. 1527-6996. 0000367.
32. Pang, B., Yue, J., Zhao, G. & Xu, Z. 2017. Statistical downscaling of temperature with the random forest model. Advances in meteorology, 2017,7265178.
33. Li, H., Yu, C., Xia, J., Wang, Y., Zhu, J. & Zhang, P. 2019. A model output machine learning method for grid temperature forecasts in the Beijing area. Advances in Atmospheric Sciences, 36, 1156–1170. https://doi.org/10.1007/s00376-019-9023-z.
34. Raeesi, M., Zolfaghari, A. A., Kaboli, S. H., Rahimi, M., de Vente, J., & Eekhout, J. P. C.  2024. Using quantile mapping and random forest for bias-correction of high-resolution reanalysis precipitation data and CMIP6 climate projections over Iran. International Journal of Climatology, 44(12), 4495–4514. https://doi.org/10.1002/joc.8593
35.  Salman, S. A., Shahid, S., Ismail, T., et al. 2018. Selection of climate models for projection of spatiotemporal changes in temperature of Iraq with uncertainties. Atmospheric Research, 213, 509–522. https://doi.org/10.1016/j.atmosres.2018.07.008.
36. Sa’adi, Z., Shahid, S. & Chung, E. S. 2017. Projection of spatial and temporal changes of rainfall in Sarawak of Borneo Island using statistical downscaling of CMIP5 models. Atmospheric Research, 197, 446–460. https://doi.org/10.1016/j.
37. Salcedo-Sanz, Sancho., Pérez-Aracil, Jorge., Ascenso, Guido. & Del Ser, Javier. 2022. Analysis, Characterization, Prediction and Attribution of Extreme Atmospheric Events with Machine Learning: a Review. Theoretical and Applied Climatology. DOI - 10.48550/arXiv.2207.07580
38. Shi, W., Schaller, N., MacLeod, D., Palmer, T.N. & Weisheimer, A. 2015. Impact of hindcast length on estimates of seasonal climate predictability. Geophysical Research Letters, 42, 1554–1559. https://doi.org/10.1002/2014GL062829
39. Talsma, C.J., Solander, K.C., Mudunuru, M.K., Crawford, B. & Powell, M.R. (2023). Frost prediction using machine learning and deep neural network models. Front. Artif. Intell. 5, 963781. https://doi.org/10.3389/frai.2022.963781
40. Gupta, H.V., Kling, H., Yilmaz, K.K. & Martinez, G.F. 2009. Decomposition of the mean squared error and NSE performance criteria: Implications for improving hydrological modelling. Journal of Hydrology, 377: 1. 80-91. https://doi.org/10.1016/j.jhydrol.2009.08.003
41. Yaghoobzadeh, M., Khashei, A., Ramazeni, Y. & Hosseini, S. A. 2019. The selection of the best from climate change model in the estimation of climatology variables for east region of the country by use fifth report data. Journal of Arid Regions Geographic Studies, 10(37), 68-78. https://sid.ir/paper/381961/en.
42. Zareian, M. 2022. Effects of Climate Change on Temperature and Precipitation in Yazd Province Based on Combined Output of CMIP6 Models, Journal of Hydrology and Soil Science, 26(2), 91-105. http://jstnar.iut.ac.ir/article-1-4156-en.html.
43.  Zhu, L., Kang, W., Li, W., Luo, J.-J. & Zhu, Y. 2022. The optimal bias correction for daily extreme precipitation indices over the Yangtze-Huaihe River basin, insight from BCC-CSM1.1-m. Atmospheric Research, 271, 106101. https://doi.org/10.1016/j.atmosres.2022.106101.