MISR Toolkit  1.5.1
Functions
MtkDdToDegMinSec.c File Reference
#include "MisrUnitConv.h"
#include "MisrError.h"

Go to the source code of this file.

Functions

MTKt_status MtkDdToDegMinSec (double dd, int *deg, int *min, double *sec)
 Convert decimal degrees to unpacked degrees, minutes, seconds. More...
 

Function Documentation

◆ MtkDdToDegMinSec()

MTKt_status MtkDdToDegMinSec ( double  dd,
int *  deg,
int *  min,
double *  sec 
)

Convert decimal degrees to unpacked degrees, minutes, seconds.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert 130.08284167 degrees to unpacked degrees, minutes, seconds.
status = MtkDdToDegMinSec(130.08284167, &deg, &min, &sec);
Parameters
[in]ddDecimal degrees
[out]degDegrees
[out]minMinutes
[out]secSeconds

Definition at line 32 of file MtkDdToDegMinSec.c.


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