wavespectra.read_awac#
- wavespectra.read_awac(filename)[source]#
Read Spectra from Nortec AWAC NMEA file.
The spectra are reconstructed from the Fourier coefficients using the maximum entropy method to remove negative energy. Normalisation is applied per frequency to keep energy over directions identical to energy in non-directional spectrum. The 2D spectral data is scaled to the significant wave height (Hs) given in the wave parameters.
- Args:
filename (str): path to AWAC file.
- Returns:
dset (SpecDataset): spectra dataset object read from file.