MISR Toolkit  1.5.1
Functions
MtkLatLonToSomXY.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 MtkLatLonToSomXY (int path, double lat_dd, double lon_dd, double *som_x, double *som_y)
 Convert decimal degrees latitude and longitude to SOM X, SOM Y. More...
 

Function Documentation

◆ MtkLatLonToSomXY()

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

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

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert latitude 82.740690 and longitude -3.310459 for path 1 to SOM Cordinates.
status = MtkLatLonToSomXY(1, 82.740690, -3.310459, &som_x, &som_y);
Parameters
[in]pathPath
[in]lat_ddLatitude
[in]lon_ddLongitude
[out]som_xSOM X
[out]som_ySOM Y

Definition at line 38 of file MtkLatLonToSomXY.c.


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