A flash flood warning has been issued for New York City, according to the National Weather Service.

In the early evening, areas of New York City were drenched in heavy rainfall and some gusting winds. The flash flood warning is in effect until 9 p.m., Peter Wichrowski, a meteorologist with the Upton-based weather service, said.

That same system was expected to hit Nassau and western Suffolk on Long Island at about 8 p.m., the meteorologist said. But Wichrowski said he expects the storm to weaken before it gets to the eastern parts of Suffolk later Wednesday night.