List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract MTK_DD_TO_DEG_MIN_SEC converts decimal degrees to degrees, minutes, and seconds. -Copyright Copyright (2005), California Institute of Technology. U.S. Government sponsorship acknowledged. -I/O Given: dd decimal degrees the call: status = MTK_DD_TO_DEG_MIN_SEC( dd, deg, minutes, seconds ) returns: status 0 on success; otherwise failure deg degrees minutes minutes seconds seconds -Examples ;; ;; Set up input parameters ;; dd = 65.55 status = MTK_DD_TO_DEG_MIN_SEC( dd, deg, minutes, seconds ) ;; ;; Output... ;; print, 'decimal degrees : ', dd print, '=================================================' print, 'DEGREES : ',deg print, 'MINUTES : ',minutes print, 'SECONDS : ',seconds IDL outputs: decimal degrees : 65.5500 ================================================= 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 MtkDdToDegMinSec.c. -Version -IDL-MTK Version 1.2.0