York County will see a range of weather over the next couple of days as the recent warm spell gives way to a cold front.

Wednesday will begin with fog as the region is under a dense fog advisory until 9 a.m., according to the National Weather Service. Visibilities of a quarter mile or less are possible.

The area will be under a flood watch from 1 p.m. Wednesday until Thursday morning as heavy rain combines with snow runoff to raise the risk of flooding, especially in small streams and creeks, the NWS said. In York, the rain is expected to begin after 1 p.m., and thunderstorms are possible. The area will see up to 2 inches of rain by Wednesday night, along with south winds that will increase to 15-20 mph in the afternoon. Wednesday's high will be 64 and the low 39.

Thursday will be mostly cloudy and windy, with temperatures falling to around 34 by 5 p.m., the forecast said. Winds will be from the west at 20-25 mph, with gusts up to 43 mph, and snow showers are possible Thursday night, with a low of 25.

Friday will be mostly cloudy, with a high of 31 and low of 18, the service said. Winds will be from the west at 14-21 mph, with gusts up to 33 mph.

Saturday will be partly cloudy, with a chance of snow showers Saturday night, the forecast said. The high will be 31 and the low 24.

Sunday will be partly cloudy, with a high of 37 and low of 22, the NWS said.