List of Routines By Functionality |  MISR Toolkit: Main Page

-Abstract

   MTK_RAD_TO_DEG_MIN_SEC converts radians to degrees, minutes, and seconds.

-Copyright

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

-I/O
   
   Given:
   
      rad            radians

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

-Examples

      ;;
      ;; Set up input parameters
      ;;
      rad         = 1.14406333
      status      = MTK_RAD_TO_DEG_MIN_SEC( rad, deg, minutes, seconds )
      
      ;;
      ;; Output...
      ;;
      print, 'radians               : ', rad
      print, '================================================='
      print, 'DEGREES               : ',deg
      print, 'MINUTES               : ',minutes
      print, 'SECONDS               : ',seconds

   IDL outputs:
   
      radians               :       1.14406
    =================================================
      DEGREES               :           65
      MINUTES               :           33
      SECONDS               :     0.0099999979

-Particulars
   None.

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

-Version
   -IDL-MTK Version 1.2.0