Title: Production and reversal of the geomagnetic field