MISR Toolkit  1.5.1
Functions
MtkSomXYToLatLon.c File Reference
#include "MisrCoordQuery.h"
#include "MisrUnitConv.h"
#include "MisrError.h"
#include "proj.h"
#include "gctp_prototypes.h"
#include <stddef.h>

Go to the source code of this file.

Functions

MTKt_status MtkSomXYToLatLon (int path, double som_x, double som_y, double *lat_dd, double *lon_dd)
 Convert SOM X, SOM Y to decimal degrees latitude and longitude. More...
 

Function Documentation

◆ MtkSomXYToLatLon()

MTKt_status MtkSomXYToLatLon ( int  path,
double  som_x,
double  som_y,
double *  lat_dd,
double *  lon_dd 
)

Convert SOM X, SOM Y to decimal degrees latitude and longitude.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert SOM X 10529200.016621 and SOM Y 622600.018066 for path 1 to latitude and longitude in decimal degrees.
status = MtkSomXYToLatLon(1, 10529200.016621, 622600.018066, &lat_dd, &lon_dd);
Parameters
[in]pathPath
[in]som_xSOM X
[in]som_ySOM Y
[out]lat_ddLatitude
[out]lon_ddLongitude

Definition at line 36 of file MtkSomXYToLatLon.c.


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