MATLAB Code for Visualizing Monsoon-Driven Wave–Current Interactions in the Arabian Sea Great Whirl: Wave Footprints Observed by SWOT/CFOSAT and Simulated by SWAN

Jin Wang, Wenjin Sun, Yindi Wang et al. · Figshare · 2026

This MATLAB code package generates the visualization figures for the study on wave-current interactions over the Arabian Sea Great Whirl .Core functions:- Plotting significant wave height (SWH) and surface current vector fields - Calculating and visualizing spatial gradients of SWH and surface currents - Generating asymmetric dipole patterns of SWH modulated by the Great Whirl - Comparing wave field differences between strong current-weak wind (June 2024) and weak current-strong wind (September 2024) conditions File structure: - `main_visualization.m`: Main script to run all plotting workflows - `data_preprocessing.m`: Functions to load and clean AVISO/ERA5/SWAN model data - `gradient_calculation.m`: Scripts to compute wave-current velocity gradients - `README.md`: Detailed instructions for environment setup and execution - `example_outputs/`: Sample figures generated by the code Compatibility:- MATLAB R2021b or later - Required toolboxes: Mapping Toolbox, Statistics and Machine Learning Toolbox Related work: This code supports the findings presented in the manuscript "Modulation of Surface Waves by the Arabian Sea Great Whirl: Insights from Multi-Source Observations and Numerical Simulations" (submitted to JGR: Oceans).

Cited by 0 works. doi:10.6084/m9.figshare.32346360

Authors