Locals surf in South Beach as Irma closes in.

Storm-surging seas and tropical-force winds are still predicted to slam Miami on Sunday, despite Hurricane Irma now taking a more western path up Florida’s gulf coast.

But on Saturday night on Miami’s South Beach, it was surfing — and partying — as usual, even as wet winds began lashing the Atlantic into a seething froth.

Shouts of “F— you, Irma!” rose from a group of some 20 surfers as they drank beer, white wine and champagne on the beach.

“Block party, baby!” artist Jona Cerwinske, announced.

They’d reluctantly left off surfing by late afternoon, after the Atlantic Ocean began to churn.

“It’s like a washing machine out there,” noted George Granizo, 51, as he abandoned the water.

The surfers said they’d gathered on the beach to mark the one-year anniversary of the death of one of their friends, who’d died while surfing.

“South Beach, friends and family,” said Annie Tworog, 38. “We are related by the water — that sounds so cheesy. But we’re all surfers, and our good friend died a year ago today so we’re celebrating him.”

Cerwinske called it “a tribal situation.”

“We feel we are being spared damage and destruction from the storm,” he said at 5 p.m., maybe a bit prematurely. “He is fending off Irma from us. He left us in the ocean while surfing.

“This is mystical,” Cerwinske added. “We were expected to be underwater, but we are here having a great time.”

“We will be partying all night long,” promised Megan Turnbow, 31, who’d come to the beach with a backpack jammed full of liquor.

“We are well-stocked.”

Meanwhile, on gusty, rainy Ocean Drive, Adam Todd, 43, took a break from skateboarding — which he does upside down, while performing a handstand.

“Doesn’t make a lot of sense,” Todd admitted of his antics in the looming storm.

“I keep doing it,” he laughed. “Painful learning curve.”