MISR Toolkit  1.5.1
Functions
MtkDmsToDd.c File Reference
#include "MisrUnitConv.h"
#include "MisrError.h"
#include <math.h>

Go to the source code of this file.

Functions

MTKt_status MtkDmsToDd (double dms, double *dd)
 Convert packed degrees, minutes, seconds to decimal degrees. More...
 

Function Documentation

◆ MtkDmsToDd()

MTKt_status MtkDmsToDd ( double  dms,
double *  dd 
)

Convert packed degrees, minutes, seconds to decimal degrees.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert 130004058.23 dms to decimal degrees.
status = MtkDmsToDd(130004058.23, &dd);
Parameters
[in]dmsPacked degrees, minutes, seconds
[out]ddDecimal degrees

Definition at line 33 of file MtkDmsToDd.c.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53