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

Go to the source code of this file.

Functions

MTKt_status MtkPathTimeRangeToOrbitList (int path, const char *start_time, const char *end_time, int *orbitcnt, int **orbitlist)
 Given path and time range return list of orbits on path. More...
 

Function Documentation

◆ MtkPathTimeRangeToOrbitList()

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

Given path and time range return list of orbits on path.

Returns
MTK_SUCCESS if successful.

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

Example:
In this example, we get the list of orbits covering path 78 from 2002-02-02 02:00:00 UTC to 2002-05-02 02:00:00 UTC
status = MtkPathTimeRangeToOrbitList(78, "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]pathPath
[in]start_timeStart Time
[in]end_timeEnd Time
[out]orbitcntOrbit Count
[out]orbitlistOrbit List

Definition at line 40 of file MtkPathTimeRangeToOrbitList.c.


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