HOUSTON — Harvey continued to pummel Texas early Sunday morning, dropping nearly two feet of rain on Houston and causing dire, and deadly, flash floods.

Around 7 a.m., the National Weather Service warned of “catastrophic” and potentially “historic” flooding in the metropolitan area of the country’s fourth-largest city.

Officials in Houston urged residents to be cautious. Early Sunday, a woman was found dead by her vehicle, believed to have been trapped during a flood.

As morning broke, police and rescue workers continued to plead for residents to stay indoors and not attempt to travel flooded roadways. They urged residents experiencing flooding make their way to the highest point possible in their house, even if it is the roof, if they were awaiting rescue.

By 7 a.m. Central time, the National Weather Service had recorded at least 27 inches of rain in Houston, with an additional three to seven inches expected. Warnings for flash flooding and tornadoes remained in place for a large swath of the state, and storm surges were expected along the coast, bringing flooding to typically dry areas. William H. Hobby Airport was shut down.

“There’s flooding all over this city,” Houston Police Chief Art Acevedo said in a live stream video early Sunday morning. “We have one fatality, and a potential second fatality from the floodwaters out here.”

President Trump praised the way the city’s officials are handling the flood, tweeting at 8:04 a.m. that there was “Great coordination between agencies at all levels of government. Continuing rains and flash floods are being dealt with. Thousands rescued.”

“The advice is if you don’t have to be out, don’t be out,” said Bill Begley, a spokesman with the Joint Information Center in Houston at around 7:30 a.m. Central time. He said most of the calls for help they’ve received have come from residents who tried to drive through the storm and wounded up getting stuck in high water.

Harvey pounded the Texas coast on Saturday, making landfall as a Category 4 hurricane that destroyed buildings and caused widespread power outages as residents evacuated towns. Later downgraded to a tropical storm, Harvey crept inland, then stalled and dropped hours of torrential rain that officials said has caused catastrophic flooding across a broad section of the state.

Around 9:15 p.m. Central, police found the body of a woman in southwest Houston, said Kese Smith, a spokesman for the city’s emergency management team. He said that officials believe the woman drowned after she drove into high waters and then tried to leave her vehicle.

The woman in Houston was Harvey’s second confirmed fatality. Officials earlier confirmed another death near the small coastal town of Rockport, which took a direct hit from the storm, as search and rescue operations continued in ravaged areas that are still largely inaccessible. Officials said Rockport could receive as much as 60 inches of rain through midweek.

“We’ve been devastated,” Rockport Mayor C.J. Wax said in a telephone interview. “There are structures that are either significantly disrupted or completely destroyed. I have some buildings that are lying on the street.”

In Pasadena, a suburb of Houston, residents were ordered early Sunday to shelter in place. “Flooding is ongoing; roadways are impassable,” city officials warned. “Please do not leave until all-clear is given.”

Among the cities at risk of major flooding is Houston, the nation’s fourth-largest, with a population in excess of 2 million. Saturday evening, the city was buffeted by mammoth rains and nonstop lightning. The National Weather Service warned of a flash flood emergency for areas of Southeast Texas, including Harris County, where Houston is located.

Authorities in the Houston area reported they’d received calls from residents climbing into their attics to escape the rising water. Water overflowed the banks of area waterways in more than 30 places, spilling into roadways and homes.

Parts of Interstate 45 had more than 60 stalled vehicles on them, tweeted Harris County Sheriff Ed Gonzalez.

Gonzalez fielded tweets from some residents who posted pleas for help, saying 911 lines were busy. “We’re on it, but so widespread, it’s hard to get to everyone immediately,” the sheriff replied to one Twitter user.

In the coming days, forecasters expect the storm to meander south and east, and possibly slip back out over the warm gulf waters, allowing it to restrengthen to some extent. All the while, it will dump what could be historic quantities of rain — 15 to 30 inches in many areas, with as much as 40 inches in isolated areas, according to the National Weather Service.

As many as 300,000 people across the state were without power Saturday afternoon, and wastewater and drinking-water treatment plants were offline.

The National Weather Service predicted “major flood” conditions at some 49 river locations across a vast expanse of coastal Texas.

Texas Gov. Greg Abbott (R) said he had declared 50 counties disaster areas. With the storm now ashore, he said that “our primary concern remains dramatic flooding.” He urged residents to follow the familiar advice: “Turn around, don’t drown.”

In the island town of Port Aransas, near Rockport, officers conducted a search and rescue mission for eight people who have been reported missing, an Aransas County sheriff’s deputy said.

Many coastal Texans ignored mandatory evacuation orders and hunkered down for Harvey.

“We’ve always stayed. Daddy taught us well how to ride out a storm,” said Melissa Stewart, 41, of Victoria. “It’s always better to stay than to run.”

That city was directly in the line of fire of Harvey and emerged Saturday looking trashed, with the streets deserted and trees and power lines down all over the city. The once-stately oaks in the public square by the historic courthouse had lost many of their limbs. On the main drag through town, the Exxon station looked demolished, along with a Valero station nearby. Plywood that had been nailed to storefronts littered the streets. Shingles had been blown off roofs.

Bryan Simons, spokesman for the Victoria County Sheriff’s Office, warned that more devastation was coming.

“There will be life-threatening, catastrophic flooding here,” he said.

The Tres Palacios River has risen more than 20 feet near Midfield, according to the U.S. Geological Survey. The San Bernard River near the town of Sweeny is expected to rise more than 10 feet above its 1998 record flood stage. The Brazos River is expected to break a flood record set last year, and officials have ordered mandatory evacuations in low-lying areas of Fort Bend County.

In the southwest part of Houston, Brays Bayou was swelling with fast-flowing, debris-filled brown water, and a tornado touched down in a suburban neighborhood.

Montry Ray was staying up late to ride out the storm with his wife and two children when the roaring sound of the tornado sent them running for cover in a bathroom. Just as they bolted from the master bedroom, the storm exploded through its wall, embedding bricks in the drywall across the room. The storm ripped open the roof.

“You know how they say you hear the train noise?” said 12-year-old Caden Hill, who lives down the street. “I heard it.”

He, along with about 50 neighbors, turned out Saturday morning to help clean up. Volunteers chopped fallen trees, hauled away crumpled fences and gathered debris while roofers went to work.

To the west, San Antonio Mayor Ron Nirenberg urged residents to continue to stay off the roads as Harvey neared the city and brought wind gusts of op to 60 mph and heavy rain. The city is under a flash flood watch and tropical storm warning.

The city closed 10 roads because of high water, and officials expect that number to grow.

The storm made landfall at 10 p.m. Central Time on Friday with 130 mph winds — the first Category 4 storm to hit the United States since Charley in 2004. By late morning Saturday, it had lost some of its punch, but still had hurricane-force winds of 80 mph, having drifted to about 25 miles west of the inland city of Victoria. Shortly after noon, the National Hurricane Center downgraded Harvey to a tropical storm, with sustained winds of 70 mph.

Weather officials took to social media and the airwaves Saturday in an effort to persuade people not to become complacent because of the relatively muted impact so far in places away from the Rockport area.

In Galveston, a coastal city 50 miles south of Houston that lived through the last big Texas hurricane — Ike, in 2008 — residents seemed unconcerned Saturday morning.

At the packed Waffle House — one of the few businesses open in the area — Galveston residents Dottie and Kevin Bowden ate breakfast with their 16-year-old granddaughter, Savannah Stewart.

“This ain’t nothing,” Kevin Bowden said.

All the houses in their neighborhood are built on stilts, so the Bowdens and their neighbors weren’t worried about flooding, and local officials did not issue a mandatory evacuation order. Everyone in the neighborhood stayed to ride out the storm.

“We’re not crazy,” said Dottie, 63, who runs a business cleaning rental properties. “If they told us to leave, we would have.”

“And this isn’t our first rodeo,” added her husband, 56, who manages personal investments. He said the biggest problem so far was that “we’re running low on Corona.”

Farther east, the hurricane has put officials in New Orleans and across Louisiana on alert, and Gov. John Bel Edwards (D) said Saturday that it could be a week before the state has to cope with flooding. He said the pumping system in New Orleans, which flooded earlier this month after a heavy downpour, is steadily improving. “We’re a long ways from being out of the woods, but we are very thankful it hasn’t been more severe up to now,” he said of the storm.

Trump signed a disaster proclamation for Texas on Friday night after Abbott, the governor, sent him a written request saying that “Texas is about to experience one of the worst natural disasters in the history of the state.” White House aides said Trump will visit Texas soon.

Trump said in a series of tweets Saturday morning that he is closely monitoring the situation from Camp David and that federal officials have been on the ground since before the storm hit. He urged residents to “be safe” and pledged a thorough federal response. “We are leaving nothing to chance,” he wrote. “City, State and Federal Govs. working great together!”