GALVESTON (CBSDFW.COM/AP) — NASA astronauts have been practicing in-the-water exit maneuvers from a mock-up Orion space capsule bobbing in the Gulf of Mexico off the coast of Texas.

Several astronauts trained Thursday in the open water about 4 miles off Galveston for a possible mission to Mars.

READ MORE: Anna Police Investigating Crash That Killed 22-Year-Old Man

An Orion spacecraft is being prepared, at Johnson Space Center in nearby Houston, for flight atop NASA’s as-yet-unflown megarocket, the SLS or Space Launch System. The training was in case a real space capsule has to make a splashdown.

NASA is using the waters off the coast of Galveston to evaluate procedures being developed to get astronauts out of Orion after deep-space missions. (credit: NASA)

READ MORE: Texas Joins Oklahoma's Effort To Overturn McGirt

Officials say the practice session included the astronauts, wearing bright orange training uniforms, jumping into the water and using flotation devices. Astronauts also deployed a life raft. The practice is to hopefully help astronauts get out of the Orion spacecraft safely once back on Earth.

“Astronauts returning to Earth in Orion will have spent many days in space, and we want to make sure the last part of their journey goes smoothly no matter what kind of conditions they land in,” said Tom Walker, rescue and recovery lead for Orion at NASA’s Johnson Space Center.

Coast Guard and other NASA and military safety personnel were nearby during the water training.

MORE NEWS: 2 Killed, 5 Injured After Drag Racer Slams Into Spectators An Texas Airport

(© Copyright 2017 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)