GEO2MAG
Name
     
       GEO2MAG()
Purpose
     
       Convert from geographic to geomagnetic coordinates
Explanation
     
       Converts from GEOGRAPHIC (latitude,longitude) to GEOMAGNETIC (latitude, 
      
       longitude).   (Altitude remains the same)
      
       Latitudes and longitudes are expressed in degrees.
Calling Sequence
     
       mcoord=geo2mag(gcoord)
Input
     
       gcoord = a 2-element array of geographic [latitude,longitude], or an 
                
                array [2,n] of n such coordinates.
Keyword Inputs
     
       None
Output
     
       a 2-element array of magnetic [latitude,longitude], or an array [2,n] 
        
         of n such coordinates                     
Common Blocks
     
       None
Examples
     
       geographic coordinates of magnetic south pole
      
       IDL> mcoord=geo2mag([79.3,288.59])      
      
       IDL> print,mcoord
      
       89.999992      -173.02325
Modification History
     
       Written by Pascal Saint-Hilaire (Saint-Hilaire@astro.phys.ethz.ch), 
            
            May 2002