List of Routines By Functionality |  MISR Toolkit: Main Page

-Abstract

   MTK_DMS_TO_RAD converts packed degrees/minutes/seconds to radians.

-Copyright

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

-I/O
   
   Given:
   
      packed_dms     packed degrees/minutes/seconds

   the call:
   
      status = MTK_DMS_TO_RAD( packed_dms, rad )
   
   returns:
   
      status         0 on success; otherwise failure
      rad            radians

-Examples

      ;;
      ;; Set up input parameters
      ;;
      packed_dms  = 65033000.010
      status      = MTK_DMS_TO_RAD( packed_dms, rad )
      
      ;;
      ;; Output...
      ;;
      print, 'packed dms            : ', packed_dms
      print, '================================================='
      print, 'RADIANS               : ',rad,FORMAT='(A,F15.8)'

   IDL outputs:
   
      packed dms            :   6.50330e+07
    =================================================
      RADIANS               :      1.14406332

-Particulars
   None.

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

-Version
   -IDL-MTK Version 1.2.0