NOAA Logo, NOAA Satellites and Information, National Geophysical Data Center (NGDC).


Geomag top navigation banner Links to related web resources go to NOAA's Space Weather Now DoD World Magnetic Model Home Links and descriptions of magnetic field models and software go to the Geomagnetic Data Home go to all data and information Answers to Frequently Asked Questions Go to the Space Physics Interactive Data Resource Geomagnetic Data online at NGDC

15. APEX geomagnetic coordinate conversion

The APEX file processing program provides a determination of the apex coordinates for any selected global location. The program takes an input file with location and date, calculates the Apex coordinates and prints the results to an output file. Its behavior is very similar to the WMM file processing program. The underlying Fortran routines were coded by Art Richmond and John Emmert.

The Apex magnetic longitude is calculated the same way as geomagnetic dipole coordinates (see GMCORD). The Apex magnetic latitude is calculated such that it is zero where inclination is zero and 90 where inclination is 90. The magnetic latitude is computed by tracing the magnetic field line at the desired point up to the magnetic field line's apex (where Inclination is 0). The magnetic field line is then traced back down along the field line of a dipole which has the apex as its magnetic equator to the original altitude, the magnetic latitude of this reference dipole at that location is the magnetic latitude in apex coordinates. For more information see:

  • Richmond, A. D., Ionospheric Electrodynamics Using Magnetic Apex Coordinates, J. Geomag. Geoelectr., 47, 191-212, 1995.

Instructions for running the program are provided in the readme file. The command for running the file processing is:

apx_file.exe f INPUTFILE OUTPUTFILE

Download linux version with source code

Download windows version with source code

Use your browser back button or the navigation bar at the top to return to the Geomagnetic Utility Programs Home.