[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
New Address!   --   Neue Adresse!
[Uni logo]


MAG2GEO() Source code in mag2geo.pro

MAG2GEO()

Name
      MAG2GEO()
Purpose
     Convert from geomagnetic to geographic coordinates
Explanation
     Converts from GEOMAGNETIC (latitude,longitude) to GEOGRAPHIC (latitude,
    longitude).    (altitude remains the same)
Calling Sequence
       gcoord=mag2geo(mcoord)
Input Parameters
       mcoord = a 2-element array of magnetic [latitude,longitude], or an
                array [2,n] of n such coordinates.
Keyword Parameters
               None
Output Parameters
       a 2-element array of geographic [latitude,longitude], or an array [2,n]
            of n such coordinates
Common Blocks
               None
Example
       IDL> gcoord=mag2geo([90,0])       ; coordinates of magnetic south pole
       IDL> print,gcoord
       79.300000      -71.409990
Revision History
       Written by Pascal Saint-Hilaire (Saint-Hilaire@astro.phys.ethz.ch),
        May 2002

Last modified by pro2html on 2002 May 17 at 03:23 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically