A flash flood warning for parts of Nassau and Suffolk counties issued on Thursday afternoon has been lifted, according to the National Weather Service.

The warning was in place for southern Nassau and western Suffolk until 5:45 p.m. Thursday.

The original warning came as radar showed thunderstorms dropping heavy rain on the area, the weather service said.

Locations in Suffolk that were under the flood warning included: Islip, Lindenhurst, Babylon, Amityville, Bay Shore, Captree State Park, Gilgo State Park, Brightwaters, Wyandanch, Baywood, West Islip, Copiague, East Farmingdale, East Islip and North Bay Shore.

Radar showed heavy rain from thunderstorms in areas of southern Nassau lasting through 5:45 p.m.

Locations in Nassau that were subject to flooding included Freeport, Valley Stream, Long Beach, Lynbrook, Woodmere, Massapequa, Hempstead, Cedarhurst, Atlantic Beach, Baldwin, Oceanside, Wantagh, Lido Beach, Rockville Centre and East Rockaway. Areas in Queens included Kennedy Airport, Howard Beach and Ozone Park.

advertisement | advertise on newsday

LaGuardia Airport was showing arrival delays of nearly an hour and a half Thursday afternoon due to weather, according to the Federal Aviation Administration’s website.

Despite the wet weather and flood warning, though, most of Long Island remains in moderate drought — with severe drought conditions in central Suffolk, according to Thursday’s update of the U.S. Drought Monitor.

August was hot — closing 4.5 degrees above the monthly temperature norm — but also dry, coming in at 3.08 inches below average for precipitation.

Long Island MacArthur Airport saw just 0.9 of an inch of rain for the month, according to the National Weather Service.

Vehicles splash through at least 2 feet of water Thursday afternoon, Sept. 1, 2016, at Railroad Avenue and Great East Neck Road, in West Babylon. Photo Credit: Paul Mazza

The dryness has been exacerbated “by extreme warmth throughout much of the region,” said the accompanying summary statement.

Since March 1, the airport has tallied just 13.97 inches of precipitation, making it the fourth driest for that stretch since the Island’s official weather data started being kept in 1984 for the airport, said Jessica Spaccio, climatologist with the Northeast Regional Climate Center, based at Cornell University. That period also ranks as the fourth warmest, she said.

Thursday’s showers brought about 0.3 of an inch to the airport, with rain likely over the weekend, as eyes are on Hermine — which on Thursday afternoon was categorized as a hurricane by the National Hurricane Center, upgraded from a tropical storm — and the impacts it may bring to the area.

But with a 10.27-inch precipitation deficit since March, whatever might arrive would not be likely to “completely alleviate conditions, but it should help them from deteriorating further,” Spaccio said.