An earthquake of magnitude 3.1 and depth of 5.10 kilometers occurred 8.22 miles from Westmorland, CA in Imperial County at 03:50 AM.