If you plan to visualize wave spectra (that's what your data seems to have), using wave spectra package may save you lots of work (assuming your files are supported) https://wavespectra.readthedocs.io/en/latest/index.html