There are effects of magnetism and charged particles in the ionosphere, but that is well out of the atmosphere.
http://en.wikipedia.org/wiki/Aurora_(astronomy)
What layer of the atmosphere acts like a giant magnet? What does it attract?
3 answers
izonoshere and it attracts UV sun rays
Magnetosphere