An earthquake of magnitude 3.1 and depth of 4.70 kilometers occurred 7.73 miles from Niland, CA in Imperial County at 10:17 PM.