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

Go to the source code of this file.

Functions

MTKt_status MtkSomXYToBls (int path, int resolution_meters, double som_x, double som_y, int *block, float *line, float *sample)
 Convert SOM X, SOM Y to block, line, sample. More...
 

Function Documentation

◆ MtkSomXYToBls()

MTKt_status MtkSomXYToBls ( int  path,
int  resolution_meters,
double  som_x,
double  som_y,
int *  block,
float *  line,
float *  sample 
)

Convert SOM X, SOM Y to block, line, sample.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert SOM X 10529200.016621 and SOM Y 622600.018066 for path 1 at 1100 meter resolution to block, line, sample.
status = MtkSomXYToBls(1, 1100, 10529200.016621, 622600.018066, &block, &line, &sample);
Parameters
[in]pathPath
[in]resolution_metersResolution
[in]som_xSOM X
[in]som_ySOM Y
[out]blockBlock
[out]lineLine
[out]sampleSample

Definition at line 33 of file MtkSomXYToBls.c.


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