MISR Toolkit  1.5.1
Functions
MtkBlsToSomXYAry.c File Reference
#include "MisrCoordQuery.h"
#include "MisrError.h"
#include "misrproj.h"

Go to the source code of this file.

Functions

MTKt_status MtkBlsToSomXYAry (int path, int resolution_meters, int nelement, const int *block, const float *line, const float *sample, double *som_x, double *som_y)
 Convert array from Block, Line, Sample, to SOM Coordinates. More...
 

Function Documentation

◆ MtkBlsToSomXYAry()

MTKt_status MtkBlsToSomXYAry ( int  path,
int  resolution_meters,
int  nelement,
const int *  block,
const float *  line,
const float *  sample,
double *  som_x,
double *  som_y 
)

Convert array from Block, Line, Sample, to SOM Coordinates.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert an array of block, line, sample values for path 1 at 1100 meter resolution to SOM Coordinates.
int block[2] = {22, 122};
float line[2] = {101, 202};
float sample[2] = {22, 122};
double som_x[2];
double som_y[2];
status = MtkBlsToSomXYAry(1, 1100, 2, block, line, sample, som_x, som_y);
Parameters
[in]pathPath
[in]resolution_metersResolution Meters
[in]nelementNumber of elements
[in]blockBlock
[in]lineLine
[in]sampleSample
[out]som_xSOM X
[out]som_ySOM Y

Definition at line 39 of file MtkBlsToSomXYAry.c.


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