A modified JONSWAP spectrum dependent only on wave height and period