In 1976, the biologist Robert E. Gill Jr. came to the southern coast of Alaska to survey the birds preparing for their migrations for the winter. One species in particular, wading birds called bar-tailed godwits, puzzled him deeply. They were too fat.

“They looked like flying softballs,” said Mr. Gill.

At the time, scientists knew that bar-tailed godwits spend their winters in places like New Zealand and Australia. To get there, most researchers assumed, the birds took a series of flights down through Asia, stopping along the way to rest and eat. After all, they were land birds, not sea birds that could dive for food in the ocean. But in Alaska, Mr. Gill observed, the bar-tailed godwits were feasting on clams and worms as if they were not going to be able to eat for a very long time.

“I wondered, why is that bird putting on that much fat?” he said.

Mr. Gill wondered if the bar-tailed godwit actually stayed in the air for a much longer time than scientists believed. It was a difficult idea to test, because he could not actually follow the birds in flight. For 30 years he managed as best he could, building a network of bird-watchers who looked for migrating godwits over the Pacific Ocean. Finally, in 2006, technology caught up with Mr. Gill’s ideas. He and his colleagues were able to implant satellite transmitters in bar-tailed godwits and track their flight.

The transmitters sent their location to Mr. Gill’s computer, and he sometimes stayed up until 2 in the morning to see the latest signal appear on the Google Earth program running on his laptop. Just as he had suspected, the bar-tailed godwits headed out over the open ocean and flew south through the Pacific. They did not stop at islands along the way. Instead, they traveled up to 7,100 miles in nine days — the longest nonstop flight ever recorded. “I was speechless,” Mr. Gill said.