Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, GermanyNew Address! -- Neue Adresse! |
GEO2MAG()
Convert from geographic to geomagnetic coordinates
Converts from GEOGRAPHIC (latitude,longitude) to GEOMAGNETIC (latitude, longitude). (Altitude remains the same) Latitudes and longitudes are expressed in degrees.
mcoord=geo2mag(gcoord)
gcoord = a 2-element array of geographic [latitude,longitude], or an array [2,n] of n such coordinates.
None
a 2-element array of magnetic [latitude,longitude], or an array [2,n] of n such coordinates
None
geographic coordinates of magnetic south pole IDL> mcoord=geo2mag([79.3,288.59]) IDL> print,mcoord 89.999992 -173.02325
Written by Pascal Saint-Hilaire ([email protected]), May 2002
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]