MISR Toolkit  1.5.1
Functions
MtkSnapToGrid.c File Reference
#include "MisrSetRegion.h"
#include "MisrCoordQuery.h"
#include "MisrMapQuery.h"
#include "MisrError.h"
#include <stdlib.h>
#include <math.h>
#include <float.h>

Go to the source code of this file.

Functions

MTKt_status MtkSnapToGrid (int Path, int Resolution, MTKt_Region Region, MTKt_MapInfo *Map_info)
 Snap a region to a MISR grid based on path number and resolution. More...
 

Function Documentation

◆ MtkSnapToGrid()

MTKt_status MtkSnapToGrid ( int  Path,
int  Resolution,
MTKt_Region  Region,
MTKt_MapInfo Map_info 
)

Snap a region to a MISR grid based on path number and resolution.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we snap a region to a SOM plane for path 37 at resolution 1100 meters.
status = MtkSnapToGrid(37, 1100, region, &mapinfo);
Special Note:
Typically this function is not called directly. Instead use MtkReadData().
Parameters
[in]PathPath
[in]ResolutionResolution
[in]RegionRegion
[out]Map_infoMap Info

Definition at line 40 of file MtkSnapToGrid.c.


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