SAN FRANCISCO (CBS/AP) — Surf is building along much of the California coast and beachgoers are warned of dangerous waves, rip currents and possibly some minor flooding.

The National Weather Service has issued high surf advisories Wednesday for stretches of the entire coastline.

READ MORE: UPDATE: Air Attack, Calming Winds Aid Firefighters Battling Wildfire Near Big Sur; Containment Grows To 25 Percent

Waves just to the north and south of San Francisco could hit 20 feet, while sets topping 18 feet are expected along the Central Coast. Waves from 8 feet to 12 feet are predicted from Los Angeles to San Diego.

The cause is a large swell generated by a storm off Northern California.

READ MORE: PG&E Still Restoring Power to Over 2,000 Customers in East Bay

Authorities say swimmers should watch the waves before entering the water or ask lifeguards for advice.

Meanwhile Southern California’s winter heat wave continues. Forecasters say temperatures will hit the 80s again in many areas.

MORE NEWS: San Francisco Bay Area Tops Average Gas Price Per Gallon in the U.S.

© Copyright 2016 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.