The British Geological Survey said it had a depth of 24 km and a 2.9 magnitude.