OAKLAND -- The National Weather Service has issued a wind advisory for the Bay Area today, a forecaster said.

The advisory was set to take effect at 11 a.m. and continue through 9 p.m. forecaster Matt Mehle said.

Northwest winds will be blowing through the Bay Area at 20 to 30 mph, with gusts of up to 45 mph, Mehle said.

The weather service has also issued a gale warning for boaters in local coastal waters including the San Francisco Bay.

That warning takes effect, starting at 1 p.m. and boaters are being asked to avoid the water as a safety precaution.

"It's definitely not going to be a nice day on the water," Mehle said.

Contact Natalie Neysa Alund at 510-293-2469. Follow her at Twitter.com/nataliealund.