Find the grid point that is closest to given co-ordinates.
lalopoint.Rd
In the given grid, the point closest to the (Lon,Lat) co-ordinates is
found. This function is obsolete. Use point.interp
.
Arguments
- geo
A
geofield, FAfile, geodomain, FAframe
object.- lon,lat
longitude and latitude.
- minimise
Which "distance" to minimise: can be 'lalo' (minimise lat-lon) or 'proj' (minimise geographical distance in the projection).
- mask
Take the closest point where mask==TRUE.
Value
A list with following members:
- data
The value of the field in the chosen grid point. If
data
is not ageofield
, this is set to NA.- lonlat
The actual coordinates of the chosen grid point.
- index
The matrix indices of the chosen grid point.