List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract MTK_DEG_MIN_SEC_TO_DD converts degrees, minutes, and seconds to decimal degrees. -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_DD( deg, minutes, seconds, dd ) returns: status 0 on success; otherwise failure dd decimal degrees -Examples ;; ;; Set up input parameters ;; deg = 65 minutes = 33 seconds = 0.001 status = MTK_DEG_MIN_SEC_TO_DD( deg, minutes, seconds, dd ) ;; ;; Output... ;; print, 'degrees : ', deg print, 'minutes : ', minutes print, 'seconds : ', seconds print, '=================================================' print, 'DECIMAL DEGREES : ',dd IDL outputs: degrees : 65 minutes : 33 seconds : 0.00100000 ================================================= DECIMAL DEGREES : 65.550000 -Particulars None. -Required Reading For important details concerning this module's function, please refer to the MTK routine MtkDegMinSecToDd.c. -Version -IDL-MTK Version 1.2.0