MISR Toolkit  1.5.1
Functions
MtkPathBlockRangeToBlockCorners.c File Reference
#include "MisrCoordQuery.h"
#include "MisrError.h"
#include "MisrProjParam.h"

Go to the source code of this file.

Functions

MTKt_status MtkPathBlockRangeToBlockCorners (int path, int start_block, int end_block, MTKt_BlockCorners *block_corners)
 Compute block corner coordinates in decimal degrees of latitude and longitude for a given path and block range. Coordinates returned are with respect to the pixel center of the upper left corner, center and lower right corner of each block. More...
 

Function Documentation

◆ MtkPathBlockRangeToBlockCorners()

MTKt_status MtkPathBlockRangeToBlockCorners ( int  path,
int  start_block,
int  end_block,
MTKt_BlockCorners block_corners 
)

Compute block corner coordinates in decimal degrees of latitude and longitude for a given path and block range. Coordinates returned are with respect to the pixel center of the upper left corner, center and lower right corner of each block.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we want the block corners for path 37 and blocks 25 to 50.
status = MtkPathBlockRangeToBlockCorners(37, 25, 50, &block_corners);
Parameters
[in]pathPath
[in]start_blockStart Block
[in]end_blockEnd Block
[out]block_cornersLongitude Decimal Degrees

Definition at line 36 of file MtkPathBlockRangeToBlockCorners.c.


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