An earthquake of magnitude 2.0 and depth of 3.10 kilometers occurred 7.96 miles from Niland, CA in Imperial County at 12:52 PM.