An earthquake of magnitude 2.9 and depth of 1.60 kilometers occurred 17.57 miles from Lompoc, CA in Santa Barbara County at 12:46 PM.