List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract
MTK_LATLON_TO_PATHLIST returns all paths intersecting a given latitude/longitude pair.
-Copyright
Copyright (2005), California Institute of Technology.
U.S. Government sponsorship acknowledged.
-I/O
Given:
lat latitude
lon longitude
the call:
status = MTK_LATLON_TO_PATHLIST( lat, lon, path_cnt, path_list )
returns:
status 0 on success; otherwise failure
path_cnt number of paths
path_list array of paths
-Examples
;;
;; Set up input parameters
;;
lat = 66.121646
lon = 89.263022
status = MTK_LATLON_TO_PATHLIST( lat, lon, path_cnt, path_list )
;;
;; Output...
;;
print, 'latitude : ', lat
print, 'longitude : ', lon
print, '================================================='
print, '--- PATH LIST ---'
FOR i=0,path_cnt-1 DO print, path_list[i]
IDL outputs:
latitude : 66.121646
longitude : 89.263022
=================================================
--- PATH LIST ---
7
8
9
10
11
12
13
14
146
147
148
149
150
151
152
153
154
-Particulars
None.
-Required Reading
For important details concerning this module's function, please refer to
the MTK routine MtkLatLonToPathList.c.
-Version
-IDL-MTK Version 1.2.0