Earthquake prediction is considered a scientifically hopeless task, yet gradually we've been learning useful things. In a paper published by Nature Geoscience last month, a team of researchers announced that they had "anticipated" a large earthquake in Costa Rica in fair detail.

In this branch of seismology, a lot rides on the exact language you use. A "prediction" is an announcement that an earthquake of size X will happen on date Y in region Z. Nobody in the profession does that, and the amateurs who do never have results that stand up to scrutiny. The most any seismologist will do is issue a "forecast," similar to a weather forecast in that it consists of a set of probabilities. For an example, see the Uniform California Earthquake Rupture Forecast, a cautious and exhaustively detailed look ahead at the 30-year odds by a large team of federal, state and academic researchers.

An "anticipation" is something more specific than a forecast, and it succeeded in a special place—the Nicoya Peninsula of Costa Rica. Led by Andrew Newman of the Georgia Institute of Technology, the team took an approach that was counted out 20 years ago and made it work with better methods.

The history of quake prediction is littered with failures, one of which is the "seismic gap" hypothesis. This is a common-sense explanation that can be stated in plain language: large earthquake-producing faults appear to rupture in distinct segments, and for any given segment it should be straightforward to figure out the strain building up in it since the last earthquake that ruptured it thoroughly and say how close we're getting to its next "big one." There are some successes from that approach (the 1989 Loma Prieta quake fit the model), but as a global tool it's repeatedly been found wanting, particularly for the largest events occurring on offshore megathrust faults (the 2004 Sumatra and 2011 Japan quakes, both giant events of magnitude 9, were of this type).

The problem was that until recently, our only tool to see what's happening on these fault segments was seismicity: the smaller earthquakes going on all the time. But there's no obvious pattern of seismicity that signals the state of strain on a fault. That would have been too easy. Even a fault that looks like it should be well-behaved doesn't behave that well. For instance, earthquakes at Parkfield, California, were happening pretty close to clockwork fashion, every 22 years on average, when scientists decided to set up instruments and catch the next 22-year event sometime around 1988. It didn't happen until 2004—so much for that prediction.