21 int bar(
double lat,
double lon ) {
30 char *starttime =
"2002-02-02T02:00:00Z";
31 char *endtime =
"2002-05-02T02:00:00Z";
33 printf(
"starttime = %s\nendtime = %s\n", starttime, endtime);
38 printf(
"Pathlist = ");
39 for (i = 0; i < pathcnt; i++) {
40 printf(
"%d ", pathlist[i]);
44 for (i = 0; i < pathcnt; i++) {
46 &orbitcnt, &orbitlist);
48 printf(
"Orbitlist for Path %d = ", pathlist[i]);
49 for (j = 0; j < orbitcnt; j++) {
50 printf(
"%d ", orbitlist[j]);
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.
int bar(double lat, double lon)
MTKt_status MtkLatLonToPathList(double lat_dd, double lon_dd, int *pathcnt, int **pathlist)
Get list of paths that cover a particular latitude and longitude.