The earth’s magnetic field is generated in the earth’s _____________