MISR Toolkit  1.5.1
Functions
MtkTimeRangeToOrbitList.c File Reference
#include "MisrOrbitPath.h"
#include "MisrError.h"
#include <stdlib.h>

Go to the source code of this file.

Functions

MTKt_status MtkTimeRangeToOrbitList (const char *start_time, const char *end_time, int *orbitcnt, int **orbitlist)
 Given start time and end time return list of orbits. More...
 

Function Documentation

◆ MtkTimeRangeToOrbitList()

MTKt_status MtkTimeRangeToOrbitList ( const char *  start_time,
const char *  end_time,
int *  orbitcnt,
int **  orbitlist 
)

Given start time and end time return list of orbits.

Returns
MTK_SUCCESS if successful.

Time Format: YYYY-MM-DDThh:mm:ssZ (ISO 8601)

Example:
In this example, we get the list of orbits from 2002-02-02 02:00:00 UTC to 2002-05-02 02:00:00 UTC
status = MtkTimeRangeToOrbitList("2002-02-02T02:00:00Z", "2002-05-02T02:00:00Z", &orbitcnt, &orbitlist);
Note
The caller is responsible for freeing the memory used by orbitlist
Parameters
[in]start_timeStart Time
[in]end_timeEnd Time
[out]orbitcntOrbit Count
[out]orbitlistOrbit List

Definition at line 38 of file MtkTimeRangeToOrbitList.c.


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