[R] interpolation to new points between geo coordinates

Jan Näs skydiver.jan at gmail.com
Mon Jul 2 10:47:54 CEST 2012


Hi

I have a data set with geo coordinates and values for each coordinate.
I want to interpolate the values to new positions on a finer grid,
also geo coordinates.
I have looked at the fields package (interp.surface) and the akima
package (interp) but cant quite figure what I am doing wrong, or if
these functions suits my needs.

I have the two data set:

grid_1:

  lat  lon  value
1 56.5  11.1  53
2 56.6 11.1 53.1
3 56.7 11.12 52.1
4 56.5 11.2 52.9
...etc.

and a new grid

grid_2
  lat  lon
1 55.52 11.11
2 55.53 11.115
3 55.54 11.12
...etc.


And I want interpolated values for grid_2.
Any ideas?
/Jan



More information about the R-help mailing list