List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract
MTK_RAD_TO_DMS converts radians to packed degrees/minutes/seconds.
-Copyright
Copyright (2005), California Institute of Technology.
U.S. Government sponsorship acknowledged.
-I/O
Given:
rad radians
the call:
status = MTK_RAD_TO_DMS( rad, packed_dms )
returns:
status 0 on success; otherwise failure
packed_dms packed degrees/minutes/seconds
-Examples
;;
;; Set up input parameters
;;
rad = 1.14406332
status = MTK_RAD_TO_DMS( rad, packed_dms )
;;
;; Output...
;;
print, 'radians : ', rad
print, '================================================='
print, 'PACKED DMS : ',packed_dms,FORMAT='(A,F15.3)'
IDL outputs:
radians : 1.14406
=================================================
PACKED DMS : 65033000.010
-Particulars
None.
-Required Reading
For important details concerning this module's function, please refer to
the MTK routine MtkRadToDms.c.
-Version
-IDL-MTK Version 1.2.0