A $340 million deep-space observatory that aims to alert people on Earth of potentially dangerous solar activity and geomagnetic storms blasted off Wednesday atop a SpaceX Falcon 9 rocket.