Deep learning-based forecasting of significant wave height in Padang Coastal Waters: a comparative study of RNN, LSTM, and GRU architectures

Chan, Fajri Rinaldi and Rahma Yanti, Rahma Yanti and Hidayat, Aldi and Ramadhanu, Agung and Annas, Firdaus (2026) Deep learning-based forecasting of significant wave height in Padang Coastal Waters: a comparative study of RNN, LSTM, and GRU architectures. Journal of Computing Research and Innovation, 11 (1): 9. pp. 103-120. ISSN 2600-8793

Official URL: https://jcrinn.com/index.php/jcrinn

Identification Number (DOI): 10.24191/jcrinn.v11i1.587

Abstract

This study investigates deep learning–based forecasting of significant wave height (SWH) in Padang coastal waters, western Sumatra, a region exposed to wave-induced hazards that affect navigation, fisheries, and coastal infrastructure. SWH data are obtained from the ERA5 reanalysis single-levels product using the variable significant_height_of_combined_wind_waves_and_swell at hourly resolution from January to November 2025. After conversion from NetCDF to CSV, the time series is cleaned, normalized using Min-Max scaling, and transformed into supervised samples through a sliding-window approach. The dataset is split chronologically into training (January–September), validation (October), and testing (November) subsets. Three recurrent neural architectures are compared under a consistent experimental setup: a vanilla Recurrent Neural Network (RNN), Long Short-Term Memory (LSTM), and Gated Recurrent Unit (GRU). All models use the same input window length, optimization settings, and early-stopping criterion, and are evaluated with Mean Squared Error (MSE), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and the coefficient of determination . Results show that all architectures capture SWH dynamics with very high skill, yielding test values above 0.997 and MAPE below 0.7%. The RNN achieves the lowest test RMSE (0.007551) and MAE (0.003894), while the GRU delivers slightly higher errors but a modeling compromise between accuracy and training time. The LSTM attains the largest error among the three models (RMSE 0.008308, MAE 0.004423) yet is the most computationally efficient. Residual analyses indicate that the largest errors occur during sharp transitions and high-energy events. Overall, the study demonstrates that recurrent deep learning models driven solely by ERA5 reanalysis can provide accurate short-term SWH forecasts to support coastal and maritime decision-making in Padang and other data-sparse regions.

Metadata

Item Type: Article
Creators:
Creators
Email / ID Num.
Chan, Fajri Rinaldi
UNSPECIFIED
Rahma Yanti, Rahma Yanti
UNSPECIFIED
Hidayat, Aldi
UNSPECIFIED
Ramadhanu, Agung
UNSPECIFIED
Annas, Firdaus
UNSPECIFIED
Subjects: Q Science > QA Mathematics > Instruments and machines > Electronic Computers. Computer Science > Neural networks (Computer science)
Divisions: Universiti Teknologi MARA, Perlis > Arau Campus
Journal or Publication Title: Journal of Computing Research and Innovation
UiTM Journal Collections: UiTM Journals > Journal of Computing Research and Innovation (JCRINN)
ISSN: 2600-8793
Volume: 11
Number: 1
Page Range: pp. 103-120
Keywords: significant wave height, deep learning, recurrent neural network, long short-term memory, gated recurrent unit, time series forecasting
Date: 2026
URI: https://ir.uitm.edu.my/id/eprint/135383
Edit Item
Edit Item

Download

[thumbnail of 135383.pdf] Text
135383.pdf

Download (883kB)

ID Number

135383

Indexing

Altmetric
PlumX
Dimensions

Statistic

Statistic details