Main Content

Abstract

Air temperature prediction is important for supporting weather monitoring and operational activities in port areas. Accurate temperature forecasting can support decision-making related to maritime transportation, logistics, and weather-based risk mitigation. This study compares the performance of Long Short-Term Memory (LSTM) and Convolutional Neural Network–Long Short-Term Memory (CNN–LSTM) models for daily air temperature prediction in the Tanjung Priok Port area. The dataset consists of daily meteorological observations collected from the Tanjung Priok Maritime Meteorological Station, Indonesia, covering the period from 2000 to 2025. Eight input variables were used, including rainfall, sunshine duration, air pressure, average humidity, average wind speed, and three lagged temperature variables. Data preprocessing included data cleaning, 7-day moving average smoothing, MinMaxScaler normalization, and sequence generation using a sliding-window approach. The dataset was divided into training (70%), validation (15%), and testing (15%) sets. Model performance was evaluated using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), Mean Absolute Percentage Error (MAPE), and the coefficient of determination (R²). The results show that the LSTM model achieved the best overall performance, with an MAE of 0.1457 °C, RMSE of 0.1811 °C, MAPE of 0.5030%, and R² of 0.9423. In comparison, the CNN–LSTM model obtained an MAE of 0.2566 °C, RMSE of 0.3316 °C, MAPE of 0.8802%, and R² of 0.8065. These results indicate that the standalone LSTM model performed better than the CNN–LSTM model in predicting daily air temperature for the Tanjung Priok Port dataset.

Article Details

How to Cite

Citation Format
Tasa, E., Tukiyat, T., & Djaksana, Y. M. (2026). Comparative Analysis of LSTM and CNN–LSTM Models for Daily Air Temperature Prediction in Tanjung Priok Port Using Multivariate Meteorological Data. International Journal Software Engineering and Computer Science (IJSECS), 6(2), 647-657. https://doi.org/10.35870/ijsecs.v6i2.7564

References

21 References
  • Akbar, G., Prajitno, P., Ariffudin, & Ananda, N. (2024). Multivariate imputation chained equation on solar radiation in automatic weather station. Jurnal Penelitian Pendidikan IPA, 10(7), 3633–3639. https://doi.org/10.29303/jppipa.v10i7.7679
  • Alzubaidi, L., Zhang, J., Humaidi, A. J., Al-Dujaili, A., Duan, Y., Al-Shamma, O., Santamaría, J., Fadhel, M. A., Al-Amidie, M., & Farhan, L. (2021). Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. Journal of Big Data, 8(1). https://doi.org/10.1186/s40537-021-00444-8
  • Anno, S., Hara, T., Kai, H., Lee, M.-A., Chang, Y., Oyoshi, K., Mizukami, Y., & Tadono, T. (2019). Spatiotemporal dengue fever hotspots associated with climatic factors in Taiwan including outbreak predictions based on machine-learning. Geospatial Health, 14(2). https://doi.org/10.4081/gh.2019.771
  • Divyashree, M. S., Sparshakala, V. S., Sali, S., & Bhavya, B. V. (2025). Deep learning: Hybrid CNN–LSTM for multivariate weather prediction. International Advanced Research Journal in Science, Engineering and Technology, 12(10), 150–157. https://doi.org/10.17148/IARJSET.2025.121022
  • Fang, Z., Crimier, N., Scanu, L., Midelet, A., Alyafi, A., & Delinchant, B. (2021). Multi-zone indoor temperature prediction with LSTM-based sequence-to-sequence model. Energy and Buildings, 245, 111053. https://doi.org/10.1016/j.enbuild.2021.111053
  • Firdaus, M. D., Disastr, M. R. A., Ie, N. F., Wellyantama, P., Wicaksana, H. S., & B., F. M. (2025). Air pressure sensor data imputation models of automatic weather observation system for reliable aviation weather information. In 2025 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS) (pp. 1–5). IEEE. https://doi.org/10.1109/ISPACS68724.2025.11383440
  • Furqon, A., Ananda, N., & Soekirno, S. (2025). Development of vessel automatic weather station using smart weather sensor based on Internet of Things. In 2025 International Conference on Smart-Green Technology in Electrical and Information Systems (ICSGTEIS) (pp. 123–127). IEEE. https://doi.org/10.1109/ICSGTEIS68532.2025.11284441
  • Giazzi, M., Peressutti, G., Cerri, L., Fumi, M., Riva, I. F., Chini, A., Ferrari, G., Cioni, G., Franch, G., Tartari, G., Galbiati, F., Condemi, V., & Ceppi, A. (2022). Meteonetwork: An open crowdsourced weather data system. Atmosphere, 13(6), 928. https://doi.org/10.3390/atmos13060928
  • Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
  • Hou, J., Wang, Y., Zhou, J., & Tian, Q. (2022). Prediction of hourly air temperature based on CNN–LSTM. Geomatics, Natural Hazards and Risk, 13(1), 1962–1986. https://doi.org/10.1080/19475705.2022.2102942
  • Kopp, J., Hering, A., Germann, U., & Martius, O. (2024). Verification of weather-radar-based hail metrics with crowdsourced observations from Switzerland. Atmospheric Measurement Techniques, 17(14), 4529–4552. https://doi.org/10.5194/amt-17-4529-2024
  • Lim, B., & Zohren, S. (2021). Time-series forecasting with deep learning: A survey. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 379(2194). https://doi.org/10.1098/rsta.2020.0209
  • Malik, H., Feng, J., Shao, P., & Abduljabbar, Z. A. (2024). Improving flood forecasting using time-distributed CNN-LSTM model: A time-distributed spatiotemporal method. Earth Science Informatics, 17(4), 3455–3474. https://doi.org/10.1007/s12145-024-01354-y
  • Mateus, B. C., Mendes, M., Farinha, J. T., & Martins, A. (2025). Hybrid deep learning for predictive maintenance: LSTM, GRU, CNN, and dense models applied to transformer failure forecasting. Energies, 18(21), 5634. https://doi.org/10.3390/en18215634
  • Rhamadania, K., Makhsun, M., Basir, C., & Ananda, N. (2026). Imputation of missing weather data in automatic weather station using the GRU algorithm. Journal of Applied Informatics and Computing, 10(2), 1165–1171. https://doi.org/10.30871/jaic.v10i2.12301
  • Subyantara Wicaksana, H., Ananda, N., Budiawan, I., Santoso, B., Handoko, R., Irwan Maulana, A., & Utoro, A. (2022). Air temperature sensor estimation on automatic weather station using ARIMA and MLP. Ultimatics: Jurnal Teknik Informatika, 14(2), 103.
  • Tajfar, E., Bateni, S. M., Lakshmi, V., & Ek, M. (2020). Estimation of surface heat fluxes via variational assimilation of land surface temperature, air temperature and specific humidity into a coupled land surface-atmospheric boundary layer model. Journal of Hydrology, 583, 124577. https://doi.org/10.1016/j.jhydrol.2020.124577
  • Tran, T. T. K., Bateni, S. M., Ki, S. J., & Vosoughifar, H. (2021). A review of neural networks for air temperature forecasting. Water, 13(9), 1294. https://doi.org/10.3390/w13091294
  • Utku, A., & Kaya, S. K. (2025). LSTM-based deep learning model for air temperature prediction. IDUNAS Natural & Applied Sciences, 26(32), 26–32. https://doi.org/10.38061/idunas.1596669
  • Xie, N., & Zhang, W. (2024). Empowering big data analytics through machine learning: Applications, challenges, and future directions. Applied and Computational Engineering, 93(1), 76–82. https://doi.org/10.54254/2755-2721/93/20240917
  • Yin, J., Deng, Z., Ines, A. V. M., Wu, J., & Rasu, E. (2020). Forecast of short-term daily reference evapotranspiration under limited meteorological variables using a hybrid bi-directional long short-term memory model (Bi-LSTM). Agricultural Water Management, 242, 106386. https://doi.org/10.1016/j.agwat.2020.106386

Author Biographies

Erian Tasa, Universitas Pamulang

Master of Informatics Engineering Program, Universitas Pamulang, South Tangerang City, Banten Province, Indonesia.

Tukiyat Tukiyat, Universitas Pamulang

Master of Informatics Engineering Program, Universitas Pamulang, South Tangerang City, Banten Province, Indonesia.

Yan Mitha Djaksana, Universitas Pamulang

Master of Informatics Engineering Program, Universitas Pamulang, South Tangerang City, Banten Province, Indonesia

Downloads

OJS UsageStats Plugin
Download data is not yet available.

Similar Articles

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)

Contrimetric

Recommended Articles

Journal Transparency

Additional Information

Learn more about how this journal ensures quality, ethics, and transparency.