Earth’s magnetic field gets recorded weakly in certain rocks during their solidification. An analysis of these rocks may reveal the history of earth’s magnetism. The earth’s magnetic field gets modified by the field produced by motion of ions in earth’s ionosphere.