The research centre, formerly a coal mining town, is perched on theNorwegian island of Spitsbergen, which is also home to a sizeable polar bear community in one of the most extreme landscapes on Earth.
The northernmost permanent human settlement, Ny-Ålesund hosts about 150scientists, researchers and technicians during the Arctic summer, dwindling to a handful of caretakers in the colder months.
New arrivals are swiftly initiated into the dos and don'ts of life in closequarters with a formidable predator.
"If you see a bear, just enter any building and call the caretaker. Hisnumber is marked on every telephone," Katherin Lang, head of the Franco-German Awipev institute -- one of several research bases -- tells newcomers.
Two days earlier, two female bears and their two cubs were spotted just four kilometres (2.5 miles) from the base, feeding on a stranded walrus.
"It is forbidden to go in that direction, even if you have a gun," saidLang -- a warning that is echoed in notices put up in the cafeteria.
Always take a gun
Encounters between humans and polar bears on Norway's stunning Svalbard archipelago, of which Spitsbergen is the largest island, are rare.
In March this year, one attacked a sleeping Czech tourist, causing injuriesto his face and arm before fellow campers shot the animal dead.
Every new arrival at Ny-Ålesund must learn to shoot if they wish to leavethe base.
The most important message: "always be vigilant; bears could be anywhereand they are unpredictable," Sebastien Barrault, the scientific advisor of a Norwegian company running logistics at the site.
"A gun is your passport for leaving the town," he said.
Svalbard is roughly one-and-a-half times the size of Switzerland, and hometo some 3,000 polar bears -- outnumbering the 2,500-odd human inhabitants.
There are some 20-25,000 polar bears left on Earth, and the species islisted by the International Union for Conservation of Nature as "vulnerable" -- meaning it faces a high risk of extinction in the wild.
Polar bears have been hunted to excess, and are at further risk frommelting sea ice, their principal hunting ground, due to global warming.
Shooting a bear, said Barrault, must always be "the last resort" – usedonly to protect human life.
Adult male polar bears males can weigh anything from 350 to over 600kilogrammes (775 to 1,300 pounds) and run at speeds of up to 40 kilometres (25 miles) per hour over short distances.
Bears outrun humans
"Never run," when confronted by a bear, advises Barrault. Rather, one should "make lots of noise" using something like a starter gun to try and scare the animal away.
"Often, they will turn away, but a hungry bear or a mother with her cub aremore dangerous," he said.
Polar bears are a "nightmare" for Dutch ornithologist Maarten Loonen, whohas been working at Ny-Ålesund for more than two decades, studying migratory geese and Arctic sterns.
"As far as possible, we travel in pairs," he told AFP, freely admitting hisfear of the animals. "I tell my students: 'the polar bear views you as potential prey'."
According to Loonen, there were far fewer bears in this western part ofSpitsbergenwhen he first started visiting.
"In 1988, there weren't even any (polar bear) guidelines and I would campalone and without a gun," he recounted.
Bears mainly occupy the eastern, colder part of Spitsbergen, where there ismore ice.
"In recent years, the bears have been exploring new territory," saidBarrault, and are "coming closer to Ny-Ålesund".
On the last Sunday of July, a female bear and her cub passed right throughthe village at dawn, but without incident.
There has never been an attack on a resident of Ny-Ålesund, and only fivefatal confrontations in Svalbard in the past 40 years.
Polar bears mainly feed on seals, but also scavenge on the carcasses ofwhales, walruses, and other animals.
When food is scarce, they may seek out prey like reindeer, rodents or fish, and forage for eggs or even human garbage -- which may bring them in conflict with people.