BOSTON (AP) — Hurricane Cristobal is moving far off the New England coast but its impact is expected on south-facing ocean beaches in Rhode Island and Massachusetts.

The National Weather Service has issued an advisory for high surf of 6 to 12 feet and rip currents on the southern coasts of Rhode Island and Massachusetts, including Cape Cod and the nearby islands of Martha’s Vineyard and Nantucket.

Advertisement - Continue Reading Below

The advisory extends from Wednesday night through at least 8 p.m. Thursday.

The weather service is warning people in those areas to stay well away from any possible splash-over from the large waves, since people can easily be swept away by the rough water. Shoreline rocks are another hazard for anyone falling into the rough surf.

The storm is expected to pass northwest of Bermuda and continue moving northeastward in the Atlantic.