39 const char *start_time,
53 if (start_time == NULL || end_time == NULL ||
54 orbitcnt == NULL || orbitlist == NULL)
71 if (start_orbit > end_orbit)
74 *orbitcnt = end_orbit - start_orbit + 1;
76 list = (
int*)malloc(*orbitcnt *
sizeof(
int));
80 for (i = 0; i < *orbitcnt; ++i)
81 list[i] = start_orbit + i;
MTKt_status MtkTimeToOrbitPath(const char *datetime, int *orbit, int *path)
Given time return orbit number and path number.
#define MTK_ERR_CODE_JUMP(code)
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.
#define MTK_ERR_COND_JUMP(code)