<P> Earth's magnetic field, also known as the geomagnetic field, is the magnetic field that extends from the Earth's interior out into space, where it meets the solar wind, a stream of charged particles emanating from the Sun . Its magnitude at the Earth's surface ranges from 25 to 65 microteslas (0.25 to 0.65 gauss). Approximately, it is the field of a magnetic dipole currently tilted at an angle of about 11 degrees with respect to Earth's rotational axis, as if there were a bar magnet placed at that angle at the center of the Earth . The North geomagnetic pole, located near Greenland in the northern hemisphere, is actually the south pole of the Earth's magnetic field, and the South geomagnetic pole is the north pole . The magnetic field is generated by electric currents due to the motion of convection currents of molten iron in the Earth's outer core driven by heat escaping from the core, a natural process called a geodynamo . </P> <P> While the North and South magnetic poles are usually located near the geographic poles, they can wander widely over geological time scales, but sufficiently slowly for ordinary compasses to remain useful for navigation . However, at irregular intervals averaging several hundred thousand years, the Earth's field reverses and the North and South Magnetic Poles relatively abruptly switch places . These reversals of the geomagnetic poles leave a record in rocks that are of value to paleomagnetists in calculating geomagnetic fields in the past . Such information in turn is helpful in studying the motions of continents and ocean floors in the process of plate tectonics . </P>

Which layer of earth is responsible for magnetic field