PENSACOLA, Fla. -

The Florida Panhandle is bracing for big waves from Tropical Storm Ernesto, as it crosses through southern Gulf of Mexico.

Authorities say the waves create strong rip currents when they hit shore.

Pensacola Beach senior lifeguard Andrew Edwards tells the Pensacola News Journal that swimmers should be cautious.

Ten rescues were made Thursday on Pensacola Beach.

State meteorologist Amy Godsey says the ocean swells generated by Ernesto will affect the northern Gulf coast through the rest of the week.

Ernesto came ashore Thursday near Coatzacoalcos, a major oil port in Mexico's southern Gulf region.

The storm weakened as it moved inland and was expected to dissipate Friday.

Ernesto made its first landfall as a Category 1 hurricane late Tuesday in the Yucatan Peninsula.