Despite the rain, Tori McGinnis, left, with her son Maxwell,...

Despite the rain, Tori McGinnis, left, with her son Maxwell, 10-months, and neighbor Catherine Fabian, with dogs June and Walter, take an afternoon stroll through Port Jefferson Village on Wednesday, Jan. 25, 2023. Credit: Newsday/John Paraskevas

A coastal storm is taking an overnight jab at Long Island, bringing up to three inches of rain, high winds and moderate flooding on the South Shore.

The rain and wind will ramp up overnight and into early Thursday. Sustained winds will be between 25 mph to 35 mph for most of the area, with up to 50 mph gusts along the coast, forecasters said. The strongest winds are forecast for early Thursday.

A wind advisory has been issued for Long Island through 4 a.m. Thursday, when winds are expected to shift to the southwest and there will be sustained breezes of between 35 mph and 45 mph for the entire region.

Power outages were minimal as of Wednesday at 11 p.m., according to the PSEG Long Island map.

The Suffolk police reported late Wednesday that three cars remained stuck on flooded roadways in Setuaket. Nassau police had no reports of weather-related problems.

A coastal flood warning lasts through 2 a.m. Thursday for southern Nassau, where "widespread moderate flooding" was expected with the high tide. Coastal flood advisories were also in effect for the rest of the Island overnight into early Thursday morning.

While snow fell on interior parts of the tristate region, temperatures in the 40s Wednesday kept Long Island snow-free. The temperature will rise overnight to the low 50s, then fall back into the mid 40s Thursday, with between one and three inches of rain falling in total.

Once the rain is done early Thursday, the rest of the day will feature partial sunshine in the afternoon. Winds will continue to kick up between 25 mph to 39 mph and then decrease through Thursday evening and overnight.

After a sunny Friday and Saturday with highs in the low 40s, clouds return Sunday and Monday with highs in the 40s.