Vast stretches of the Pacific coastline were likely to see many hours of surging waves and tidal swells.