Abu Ghraib Vegetation Forecasting: NDVI Analysis Using Google Earth Engine Landsat 8 Data and MATLAB-Based Machine Learning
Keywords:
NDVI, Google Earth Engine (GEE), Landsat 8 Satellite Data, Vegetation Forecasting, Random Forest Regression.Abstract
This study investigates vegetation dynamics and forecasts future vegetation conditions in Abu Ghraib, Iraq, using a monthly Normalized Difference Vegetation Index (NDVI) time series derived from Landsat 8 imagery through the Google Earth Engine (GEE) platform. The study area represents an irrigated, semi-arid agricultural environment affected by seasonal water availability, climatic variability, and land-use pressure. Landsat 8 data from January 2015 to December 2023 were processed to generate monthly NDVI values using spatial and temporal filtering and cloud masking. The resulting time series was used as input for a Random Forest Regression model implemented in MATLAB. A 12-month sliding-window approach transformed the NDVI sequence into supervised learning samples, enabling the model to capture annual seasonality and temporal dependence. The trained model forecast NDVI trends over a five-year horizon. The model produced low absolute prediction errors, with a test RMSE of 0.0149, MAE of 0.0126, and MAPE of 18.5%. However, the negative test R² value of −0.35 indicates limited ability to explain variance in unseen data, despite capturing the general seasonal NDVI pattern. This limitation may be attributed to the relatively short time series and environmental variability. Residual analysis, out-of-bag error behavior, autocorrelation assessment, and feature-importance ranking supported the model’s ability to reproduce the dominant temporal structure. The forecasted outputs can support agricultural planning, irrigation monitoring, environmental assessment, and sustainable resource management in semi-arid irrigated regions.
References
Abdulkadhim, M. I., Qader, R. A., & Ismael, S. I. H. (2025). Temporal analysis of remote sensing indices with MATLAB: Comparative study of 2016 vs. 2019 vegetation cover index in Abu Ghraib’s irrigation projects. Journal of Water Resources and Geosciences, 4(2), 52–78. https://jwrg.gov.iq/index.php/jwrg/article/view/148
Adisti, H. P., & Sunkar, A. (2021). Normalized Difference Vegetation Index (NDVI) analysis for vegetation cover in the Leuser Ecosystem area, Sumatra, Indonesia. Biodiversitas, 5.
Al-Ahealy, M. W., Al-Saedi, Z. J., Hussein, Q. F., & Hussien, H. H. (2024). Monitoring the growth of agricultural crops phenology using Google Earth Engine in Wasit Governorate/Central Iraq. Journal of Water Resources and Geosciences, 3(1), 116–132. https://jwrg.gov.iq/index.php/jwrg/article/view/86
Hameed, R. S., & George, L. E. (2023). Analysis of time series of vegetation indices using Landsat-8 satellite imagery. AIP Conference Proceedings, 2769(1), 020046.
Htitiou, A., El Harti, A., Hakdaoui, M., & Sitor, H. (2019). The performance of random forest classification based on phenological metrics derived from Sentinel-2 and Landsat-8 to map crop cover in an irrigated semi-arid region. International Journal of Remote Sensing, 40(5), 1906–1929.
Isioye, O., & Akomolafe, E. (2020). Accuracy analysis of Sentinel-2A and Landsat-8 OLI satellite datasets over Kano State, Nigeria, using vegetation spectral indices. In Proceedings of the GeoInformation for Disaster Management Conference (p. 3). Sydney, Australia.
Istanbuly, M. H., & Thabeet, A. (2020). Studying changes in normalized difference vegetation index (NDVI) for cover in the area of Aleppo Mountain (Afrin) during the period 2010–2016. University of Babylon for Pure and Applied Sciences, 6.
Li, X., Zhou, Y., & Wang, J. (2021). Gap filling for historical Landsat NDVI time series by integrating spatio-temporal context and climate data. Remote Sensing, 13(3), 484.
Vasilakos, C., Tsekouras, G. E., & Kavroudakis, D. (2022). LSTM-based prediction of Mediterranean vegetation dynamics using NDVI time-series data. Land, 11(6), 923. https://doi.org/10.3390/land11060923
Faran, I., Netanyahu, N. S., Roitberg, E., & Shoshany, M. (2025). Self-supervised transformers for long-term prediction of Landsat NDVI time series. In Proceedings of the 14th International Conference on Pattern Recognition Applications and Methods (ICPRAM 2025) (pp. 542–552). SCITEPRESS. doi:10.5220/0013381700003905
Zhao, F., Zhang, L., Zhang, Y., et al. (2021). Short and medium-term prediction of winter wheat NDVI based on the DTW–LSTM combination method and MODIS time series. Remote Sensing, 13(22), 4660. https://doi.org/10.3390/rs13224660
To get the NDVI Time series data please visit the following doi (uploaded on my Zenodo account):
https://doi.org/10.5281/zenodo.14743267
To get the Forecasted NDVI results data please visit the following doi (uploaded on my Zenodo account):