Wave effects on coastal upwelling and water level