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

Go to the source code of this file.

Functions

MTKt_status MtkBlsToLatLonAry (int path, int resolution_meters, int nelement, const int *block, const float *line, const float *sample, double *lat_dd, double *lon_dd)
 Convert array from Block, Line, Sample, to Latitude and Longitude. More...
 

Function Documentation

◆ MtkBlsToLatLonAry()

MTKt_status MtkBlsToLatLonAry ( int  path,
int  resolution_meters,
int  nelement,
const int *  block,
const float *  line,
const float *  sample,
double *  lat_dd,
double *  lon_dd 
)

Convert array from Block, Line, Sample, to Latitude and Longitude.

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 latitude and longitude in decimal degrees.
int block[2] = {22, 24};
float line[2] = {101, 102};
float sample[2] = {22, 23};
double lat_dd[2];
double lon_dd[2];
status = MtkBlsToLatLonAry(1, 1100, 2, block, line, sample, lat_dd, lon_dd);
Parameters
[in]pathPath
[in]resolution_metersResolution
[in]nelementNumber of elements
[in]blockBlock
[in]lineLine
[in]sampleSample
[out]lat_ddLatitude Decimal Degrees
[out]lon_ddLongitude Decimal Degrees

Definition at line 39 of file MtkBlsToLatLonAry.c.


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