BARCELONA, Spain — A Spanish research vessel that investigates marine ecosystems has been abruptly diverted from its usual task to take on a new job: Helping in the increasingly desperate search for the missing from Spain’s floods.

The 24 crew members aboard the Ramón Margalef were preparing Friday to use its sensors and submersible robot to map an offshore area to see if they can locate vehicles that last week’s catastrophic floods swept into the Mediterranean Sea.

The hope is that a map of sunken vehicles could lead to the recovery of bodies. Nearly 100 people have been officially declared missing, and authorities admit that is likely more people are unaccounted for, in addition to more than 200 declared dead.

Pablo Carrera, the marine biologist leading the mission, estimates that in 10 days his team will be able to hand over useful information to police and emergency services. Without a map, he said, it would be practically impossible for police to carry out an effective and systematic recovery operation to reach vehicles that ended up on the seabed.

— The Associated Press