topneighbor Maps
Return value
index giving the P1[index] point that is the closest point of (P0)
Parameters
p0lon
in
required
p0lat
in
required
neighlon
in
optional
neighlat
in
optional
Keywords
sphere
distance
radians
Examples
IDL> Result = neighbor(lon0, lat0, lon1, lat1)
IDL> print, neighbor(-105.15,40.02,[-0.07,100,50],[51.30,20,0], $
distance=dis)
0
IDL> print, dis
105.684 206.125 160.228
Version history
Version
$Id: neighbor.pro 118 2006-06-27 15:47:06Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
October 2003