MISR Toolkit  1.5.1
Functions
MtkUtcToUtcJd.c File Reference
#include "MisrUtil.h"
#include "MisrError.h"

Go to the source code of this file.

Functions

static int julday (int year, int month, int day)
 
MTKt_status MtkUtcToUtcJd (char utc_datetime[MTKd_DATETIME_LEN], double jdUTC[2])
 Convert UTC date to UTC Julian date. More...
 

Function Documentation

◆ julday()

static int julday ( int  year,
int  month,
int  day 
)
static

Definition at line 21 of file MtkUtcToUtcJd.c.

◆ MtkUtcToUtcJd()

MTKt_status MtkUtcToUtcJd ( char  utc_datetime[MTKd_DATETIME_LEN],
double  jdUTC[2] 
)

Convert UTC date to UTC Julian date.

Returns
MTK_SUCCESS if successful.
Example:
In this example, we convert the UTC date 2006-08-06T15:04:00.630996Z to a UTC Julian date.
status = MtkUtcToUtcJd("2006-08-06T15:04:00.630996Z", jdUTC);
Parameters
[in]utc_datetimeUTC Date time
[out]jdUTCUTC Julian date

Definition at line 46 of file MtkUtcToUtcJd.c.


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