NEW YORK- Nepal's record of earthquakes dates to at least the 13th century, with significant temblors striking every 75 years or so.
And through all that time, in Nepal as in most seismically active areas, there has been one constant: people in the path of destruction have had no idea when the shaking would start.
Even after decades of research, "our ability to predict earthquakes is still non-existent," said seismologist Peggy Hellweg, of the Berkeley Seismological Laboratory at the University of California, Berkeley.
The area around Kathmandu suffered damaging quakes in 1934 and 1988, but when disaster experts met in Nepal's capital earlier this month, all they could forecast was that the next one would probably come in the next couple of decades.
Policy makers have, in at least one case, reacted harshly to seismologists' limited foresight. In 2012, an Italian court found six scientists guilty of manslaughter because they failed to predict and warn residents in advance of the 2009 L'Aquila earthquake, which was preceded by months of minor rumblings and killed just over 300 people.
The verdict was overturned in 2014.
But if predictions, meaning alerts days or weeks ahead, are still a distant goal, progress has been made on early warnings of earthquakes, giving precious seconds that can save lives. But the world is divided into haves and have-nots.
Earthquake early-warning systems have been deployed in only a handful of the world's seismic hot zones, Hellweg said.
They can warn of quakes as much as a few minutes before they strike.
Countries with such systems include Mexico, Japan, and the United States, where the most advanced system is California's state-run ShakeAlert.
They consist of stations housing seismometers that can detect P waves, non-destructive waves produced by an earthquake, that travel through Earth's crust faster than S waves, the ones that shake the ground.
Once P waves reach a seismic station, the information is transmitted via phone lines, modems or satellite to labs.
There, computers deploy advanced algorithms to calculate the origin and magnitude of the earthquake that generated the waves.
ShakeAlert gave the San Francisco Bay Area five to 10 seconds notice when the 2014 Napa earthquake hit.
"If Nepal had a seismic network that operated as the seismic stations in Northern California did in the Napa quake," Hellweg said, "people in Kathmandu would probably have had 15 to 20 seconds warning."
That could have been enough to take cover under tables or even escape some collapsing buildings.
The systems do not come cheap. Capital investment costs for an early warning system for the entire west coast of the United States would total $38.3 million, the US Geological Survey (USGS) estimated last year, with annual maintenance and operations totaling $16.1 million.
Transit System Warning
Since 2012, Bay Area Rapid Transit (BART) in the San Francisco area has been tied into ShakeAlert.
A signal from the earthquake warning system automatically decelerates BART trains before a quake of magnitude 4 (if local) or 5 (if distant) arrives, averting potentially disastrous derailments.
The system is not perfect, however. If the epicenter of a quake were actually in the San Francisco Bay Area, BART would have no warning: the P and S waves arrive almost simultaneously.
Japan's early-warning system, operated by the Meteorological Agency, is more extensive.
Designed to send alerts to computers, municipal agencies and others when an earthquake will be powerful enough to crack walls, Japan's system has issued public alerts since 2007.
Bullet trains, nuclear reactors, and factories are tied into the system, and shut down automatically when the 2011 Tohoku quake struck, triggering a tsunami that caused a nuclear accident at Fukushima.
Cellphone alerts told schoolchildren to take cover.
The system saved "thousands of lives," Berkeley seismologist Richard Allen told a recent scientific conference.