List of Routines By Functionality |  MISR Toolkit: Main Page

-Abstract

   MTK_DEG_MIN_SEC_TO_RAD converts degrees, minutes, and seconds to radians.

-Copyright

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

-I/O
   
   Given:
   
      deg            degrees
      minutes        minutes
      seconds        seconds

   the call:
   
      status = MTK_DEG_MIN_SEC_TO_RAD( deg, minutes, seconds, rad )
   
   returns:
   
      status         0 on success; otherwise failure
      rad            radians

-Examples

      ;;
      ;; Set up input parameters
      ;;
      deg         = 65
      minutes     = 33
      seconds     = 0.001
      status      = MTK_DEG_MIN_SEC_TO_RAD( deg, minutes, seconds, rad )
      
      ;;
      ;; Output...
      ;;
      print, 'degrees               : ', deg
      print, 'minutes               : ', minutes
      print, 'seconds               : ', seconds
      print, '================================================='
      print, 'RADIANS               : ',rad,FORMAT='(A,F15.8)'

   IDL outputs:
   
      degrees               :       65
      minutes               :       33
      seconds               :    0.00100000
    =================================================
      RADIANS               :      1.14406333

-Particulars
   None.

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

-Version
   -IDL-MTK Version 1.2.0