List of Routines By Functionality |  MISR Toolkit: Main Page

-Abstract

   MTK_LATLON_TO_SOMXY converts from decimal latitude and longitude to Space Oblique Mercator (SOM) X and Y
   coordinates for a given MISR path.

-Copyright

   Copyright (2005), California Institute of Technology.
   U.S. Government sponsorship acknowledged.

-I/O
   
   Given:
   
      path      MISR path
      lat       decimal latitude
      lon       decimal longitude
   
   the call:
   
      status = MTK_LATLON_TO_SOMXY( path, lat, lon, somx, somy )
   
   returns:
   
      status  0 on success; otherwise failure
      somx    SOM X in meters
      somy    SOM Y in meters
     
-Examples

      ;;
      ;; Set up input parameters
      ;;
      path  = 160
      lat   = 57.1
      lon   = 65.7
      
      status = MTK_LATLON_TO_SOMXY( path, lat, lon, somx, somy )
      
      ;;
      ;; Output...
      ;;
      print, 'path                  : ', path
      print, 'latitude              : ', lat
      print, 'longitude             : ', lon
      print, '================================================='
      print, 'SOM X                 : ', somx, FORMAT = '(A,F15.3)'
      print, 'SOM Y                 : ', somy, FORMAT = '(A,F15.3)' 

   IDL outputs:
   
      path                  : 160
      latitude              : 57.1000
      longitude             : 65.7000
      =================================================
      SOM X                 : 13677973.943
      SOM Y                 :   686274.547

-Particulars
   None.

-Required Reading
   For important details concerning this module's function, please refer to
   the MTK routine MtkLatLonToSomXY.c.

-Version
   -IDL-MTK Version 1.2.0