An earthquake of magnitude 1.7 and depth of 1.80 kilometers occurred 5.19 miles from Niland, CA in Imperial County at 12:29 AM.