MISR Toolkit  1.5.1
Functions
MtkChangeMapResolution.c File Reference
#include "MisrMapQuery.h"
#include "MisrUtil.h"
#include "MisrCoordQuery.h"
#include <stdlib.h>
#include <math.h>

Go to the source code of this file.

Functions

MTKt_status MtkChangeMapResolution (const MTKt_MapInfo *Map_info_in, int New_resolution, MTKt_MapInfo *Map_info_out)
 Change resolution of an MTKt_MapInfo structure. More...
 

Function Documentation

◆ MtkChangeMapResolution()

MTKt_status MtkChangeMapResolution ( const MTKt_MapInfo Map_info_in,
int  New_resolution,
MTKt_MapInfo Map_info_out 
)

Change resolution of an MTKt_MapInfo structure.

New resolution must be an integer multiple of the base MISR resolution, defined by MAXRESOLUTION.

The edges of the output map will be anchored at the same locations as the input map. Therefore, the size of input map must evenly divisible by the new resolution.

Returns
MTK_SUCCESS if successful.
Example:
Note
Parameters
[in]Map_info_inInput map information
[in]New_resolutionNew resolution.
[out]Map_info_outOutput map information.

Definition at line 43 of file MtkChangeMapResolution.c.


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