An earthquake of magnitude 1.8 and depth of 22.00 kilometers occurred 0.42 miles from Shafter, CA in Kern County at 04:48 AM.