MISR Toolkit  1.5.1
Macros | Functions
MtkRegionPathToBlockRange.c File Reference
#include "MisrOrbitPath.h"
#include "MisrCoordQuery.h"
#include "MisrProjParam.h"
#include "MisrError.h"
#include <stdlib.h>

Go to the source code of this file.

Macros

#define ULI   0 /* Upper left corner index */
 
#define LRI   1 /* Lower right corner index */
 

Functions

MTKt_status MtkRegionPathToBlockRange (MTKt_Region region, int path, int *start_block, int *end_block)
 Get start and end block numbers of a path over a particular region. More...
 

Macro Definition Documentation

◆ LRI

#define LRI   1 /* Lower right corner index */

Definition at line 24 of file MtkRegionPathToBlockRange.c.

◆ ULI

#define ULI   0 /* Upper left corner index */

Definition at line 23 of file MtkRegionPathToBlockRange.c.

Function Documentation

◆ MtkRegionPathToBlockRange()

MTKt_status MtkRegionPathToBlockRange ( MTKt_Region  region,
int  path,
int *  start_block,
int *  end_block 
)

Get start and end block numbers of a path over a particular region.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we get the start and end block numbers of path 78 for a particular region of interest.
status = MtkRegionPathToBlockRange(region, 78, &start_block, &end_block);
Parameters
[in]regionRegion
[in]pathPath
[out]start_blockStart Block
[out]end_blockEnd Block

Definition at line 38 of file MtkRegionPathToBlockRange.c.


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