Prediction of shallow‐water spectra