LongTerm Spatiotemporal Analysis of Climate Variability and Extreme Weather Events in Pakistan: An Integrated Machine Learning and Deep Learning Based Approach
In this study, the variation of temperature, rainfall, humidity, wind and pressure has been investigated on six cities of Pakistan (Gilgit, Islamabad, Karachi, Lahore, Peshawar, Quetta) from 2000 till October 2025. It also discusses two models for predictability of daily average temperature for the 3-day and 7-day ahead prediction period. The number of valid years per city varied by city, with 9 to 25 years for the trend analysis. The Mann-Kendall test with a corrected for autocorrelation, Sen's slope, a seasonal Kendall test and a false-discovery-rate adjustment were used to test the trends. Annual mean temperature exhibited a warming trend over all the stations except Islamabad which was +0.50 °C decade-1 and was not significant after adjustment. There were 126 extreme-index trends, among which three remained significant, all in Islamabad. XGBoost and an LSTM were compared to a persistence and seasonal-naive baseline forecasts on a chronological test period. XGBoost showed the best performance with an MAE of 1.73 °C at 3 days and 2.01 °C at 7 days and an RMSE of 11% and 20% lower than persistence at 3 and 7 days respectively. The LSTM was not superior to persistence (2.96 °C and 2.45 °C for MAE). Unusually hot and cold days, as well as larger models, made larger errors. Data for these six cities are presented as results and the findings are not necessarily representative of the national trend.
Authors
- Anees Tariq (ORCID: https://orcid.org/0009-0009-5340-3771)
- Muhammad Munwar Iqbal
- Sardar Hamza Javed
- Qamas Gul Khan Saifi
- Rida Fatima
- Sana Shafiq
Institutions
- University of Engineering and Technology Taxila (PK)
- Riphah International University (PK)
- Shaheed Zulfiqar Ali Bhutto Institute of Science and Technology (PK)
Publication Details
- Journal
- Ubiquitous Technology Journal
- Published
- 2026-12-03
- DOI
- https://doi.org/10.71346/utj.v2i2.45
- Primary Topic
- Climate variability and models
- Type
- article
- Field-Weighted Citation Impact
- 0.00