A swarm of a half-dozen earthquakes reaching up to magnitude 2.9 rattled San Ramon in California near San Francisco, the U.S.