MISR Toolkit  1.5.1
Functions
MtkLSToSomXYAry.c File Reference
#include "MisrMapQuery.h"
#include "MisrError.h"

Go to the source code of this file.

Functions

MTKt_status MtkLSToSomXYAry (MTKt_MapInfo mapinfo, int nelement, const float *line, const float *sample, double *som_x, double *som_y)
 Convert array of line, sample to array of SOM X, SOM Y. More...
 

Function Documentation

◆ MtkLSToSomXYAry()

MTKt_status MtkLSToSomXYAry ( MTKt_MapInfo  mapinfo,
int  nelement,
const float *  line,
const float *  sample,
double *  som_x,
double *  som_y 
)

Convert array of line, sample to array of SOM X, SOM Y.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert an array of line, sample values to SOM Coordinates.
float line[2] = {101, 202};
float sample[2] = {22, 122};
double som_x[2];
double som_y[2];
status = MtkLSToSomXYAry(mapinfo, 2, line, sample, som_x, som_y);
Parameters
[in]mapinfoMap Info
[in]nelementNumber of elemnts
[in]lineLine
[in]sampleSample
[out]som_xSOM X
[out]som_ySOM Y

Definition at line 37 of file MtkLSToSomXYAry.c.


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