There are frequently heroes when Mother Nature turns people’s lives upside down.

For every story of isolated looting, there are many more of neighbours helping each other, or of people setting out to rescue others using a kayak or a float. For every report of official indifference, there are many more of public servants working red-eyed and around-the-clock, of trying to save their city. Some, literally, give their lives.

Steve Perez, a 60-year-old sergeant with the Houston Police Department, sits in that last category. He had left his home at around 4am on Tuesday, determined to take part in a rescue shift and found himself trapped in floodwaters he was hoping to save others from.

Police rescued at least 1,000 people, while others saved themselves (AP)

His wife and father-in-law had urged him not to go to work that morning. It was so dangerous out there, they said. His response, according to Houston Police Chief Art Acevedo, was that “he had work to do”. He spent two and half hours trying to find a route to his station through the darkened, flooded streets, before his vehicle was engulfed.

“He laid down his life,” said Acevedo, struggling to hold back tears. “He was a sweet, gentle public servant.”

Twelve years ago, some police officers in New Orleans, a force beset by corruption and inefficiency, shamed their badges after the city was struck by Hurricane Katrina. Around 1,250 residents would ultimately die.

While some officers responded to the call of duty with heroism that matched that of Perez, others either failed to show up to work, or else behaved in a disgraceful way – turning back African Americans trying to escape from the suburb of Greta, shooting “looters” who were frequently just lost, and then covering up their crimes.

Harvey is different to Katrina. To start with, Houston, America’s fourth-largest city, was not not struck by the 130mph winds of a category four hurricane, or a storm surge that followed. But it has been hit by record rainfall and flooding, more so than even New Orleans.

A crucial difference is that the Texan city, which gave shelter to so many refugees from Katrina, seemed much more prepared. While many in New Orleans appeared to effect a shrug; residents had been warned about so many previous storms bearing down on them that eventually veered away at the last moment, that there was a sense of complacency.

Very late in the day – much too late, in truth – city authorities under Ray Nagin tried to enact a forced evacuation for those who had declined to leave, or else did not have the means to do so. Their solution was the Superdome: the sports ground used by the the New Orleans Saints American Football team.

Pregnant woman helped to fire truck in Houston floods

The building was not built to handle a storm, was insufficiently stocked with food, water or lavatories, and had no or very little security. People in there were effectively left to themselves. The stories of horror and hardship that seeped out of the Superdome in the days that followed have entered the national consciousness.

In Houston, there was a plan, and a decision taken that people should stay in their homes, rather than take to the streets and try and flee a hurricane that could have struck anywhere. Police from Houston and the surrounding counties then worked together to be ready, as the rain and flooding they knew was coming finally hit.

Hundreds of emergency responders set about rescuing people stranded in their homes – more than 6,000 in all. Others drove vehicles to drop people off at the rescue centres that had long been designated and prepared for.

The aftermath of Hurricane Harvey Show all 19 1 /19 The aftermath of Hurricane Harvey The aftermath of Hurricane Harvey A tattered U.S. flag damaged in Hurricane Harvey, flies in Conroe, Texas Reuters The aftermath of Hurricane Harvey Lisa Rehr holds her four-year old son Maximus, after they lost their home to Hurricane Harvey, as they await to be evacuated with their belongings from Rockport, Texas Reuters The aftermath of Hurricane Harvey People line up for food as others rest at the George R. Brown Convention Center AP Photo/LM Otero The aftermath of Hurricane Harvey Volunteers with The American Red Cross register evacuees at the George R. Brown Convention Center Reuters/Nick Oxford The aftermath of Hurricane Harvey Soldiers with the Texas Army National Guard help the residents of Cyprus Creek Reuters The aftermath of Hurricane Harvey Residents wade through floodwater Reuters/Nick Oxford The aftermath of Hurricane Harvey Residents walk along the flooded roadway of Texas 249 as they evacuate their adjacent neighborhoods EPA The aftermath of Hurricane Harvey A man floats past a truck submerged on a freeway flooded by Tropical Storm Harvey on Sunday AP The aftermath of Hurricane Harvey People are rescued by airboat as they evacuate from flood waters from Hurricane Harvey in Dickinson, Texas Reuters The aftermath of Hurricane Harvey James Archiable carries his bike through the flooded intersection at Taylor and Usenet near downtown Houston, Texas EPA The aftermath of Hurricane Harvey A massive sinkhole opened up on a motorway in Rosenburg, a city 25 miles southwest of Houston, Texas Rosenberg Police The aftermath of Hurricane Harvey People are rescued from flood waters from Hurricane Harvey in an armored police mine-resistant ambush protected vehicle in Dickinson, Texas Reuters The aftermath of Hurricane Harvey People are rescued from flood waters from Hurricane Harvey on a boat in Dickinson, Texas Reuters The aftermath of Hurricane Harvey Evacuees are airlifted in a US Coast Guard helicopter after flooding due to Hurricane Harvey inundated neighborhoods in Houston, Texas Reuters The aftermath of Hurricane Harvey Evacuees leave a US Coast Guard helicopter after being rescued from flooding due to Hurricane Harvey in Houston, Texas Reuters The aftermath of Hurricane Harvey Residents look on at a submerged motorway during a break in the rain in Houston, Texas EPA The aftermath of Hurricane Harvey People photograph the submerged motorway interchange EPA The aftermath of Hurricane Harvey Debris lies on the ground after a building was destroyed by Hurricane Harvey in Aransas Pass, Texas AP The aftermath of Hurricane Harvey Dominic Dominguez searches for his boat in a boat storage facility that was heavily damaged by Hurricane Harvey near Rockport, Texas EPA

Murder detectives turned out to join the rescue effort, meaning traffic officers with flashing lights were able to be positioned at points on the city’s freeways that were flooded, or led to roads that were. This basic coordination of traffic must have saved dozens of lives.

The authorities also had the support of countless numbers of volunteers – from inside the city – and from places as far afield as Arkansas and Louisiana. Ordinary people did their bit by turning out to work at hotels that housed the stranded, or fuel stations and grocery stores – seemingly small contributions, but crucial to letting life continue as normally as possible.

Also crucially, Houston has not been abandoned by the federal government, as was the case of New Orleans, which President George Bush flew over in Air Force One and stared sternly at from the window, but which he did little else to help.

Carl Manning, a spokesman for the American Red Cross who were among officials at the George R Brown Convention Centre in Houston (the main emergency shelter) told The Independent that after every natural disaster, officials sat down to examine what had worked well in the emergency response, and what had not.

“We learned a lot from Katrina. Every disaster you learn from – how to do things better,” he said.

Houston is still dealing with Harvey. People are still being rescued, residents are still wondering whether their home will be next to be flooded. It is possible that for many – those whose homes have been ruined, those who have lost loved ones – things will get considerably worse before they get better.

The death toll from Harvey is currently around 30. It could yet rise, as officials finally get to those most remote areas that were hit by the storm.