Hello,
I think you need to get some skill with python programming to understand the python sript that I posted.
The script read wave data from a netcdf file and write this data to a *.spe file. You will need
Xarray python module to read the netcdf file and the
MHKIT python module to write a jonswap spectra from the variables Hs, Tp and Direction. The
PPutils python module is used to read the previous *.spe file and rewrite it with the new wave data.
I recommend you to study the concept of jonswap wave spectrum
here to understand why the *.spe file give you the direction and frequency but not the Hm0. You also can extract the time series of Hm0 from Tomawac outputs using the
Blue Kenue tool.
With best regards,
Taoan