MISR Toolkit  1.5.1
Macros | Functions
MtkPixelTime.c File Reference
#include "MisrCoordQuery.h"
#include "MisrFileQuery.h"
#include "MisrUtil.h"
#include "MisrError.h"

Go to the source code of this file.

Macros

#define TIME_BETWEEN_LINE   0.0408 /* Seconds */
 

Functions

MTKt_status MtkPixelTime (MTKt_TimeMetaData time_metadata, double som_x, double som_y, char pixel_time[MTKd_DATETIME_LEN])
 Given SOM Coordinates compute pixel time. More...
 

Macro Definition Documentation

◆ TIME_BETWEEN_LINE

#define TIME_BETWEEN_LINE   0.0408 /* Seconds */

Definition at line 22 of file MtkPixelTime.c.

Function Documentation

◆ MtkPixelTime()

MTKt_status MtkPixelTime ( MTKt_TimeMetaData  time_metadata,
double  som_x,
double  som_y,
char  pixel_time[MTKd_DATETIME_LEN] 
)

Given SOM Coordinates compute pixel time.

Returns
MTK_SUCCESS if successful.

Time Format: YYYY-MM-DDThh:mm:ss.ssssssZ (ISO 8601)

Example:
In this example, we get the pixel time for SOM X 8176300.0 and SOM Y 574200.0.
status = MtkPixelTime(time_metadata, 8176300.0, 574200.0, pixel_time);
Note
Refer to MtkTimeMetaRead() to retrieve time metadata.
Parameters
[in]time_metadataTime metadata from L1B2 product file
[in]som_xSOM X
[in]som_ySOM Y
[out]pixel_timePixel time

Definition at line 41 of file MtkPixelTime.c.


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