A preliminary 3.2 magnitude earthquake struck near the Palomar Observatory in San Diego County on Friday.