An earthquake of magnitude 1.7 and depth of 22.60 kilometers occurred 5.43 miles from Shafter, CA in Kern County at 05:31 AM.