Description Usage Arguments Details Value
Interpolates spatial locations from irregular points into a grid in the globe by use of interp package FOSS implementation of akima's interpolation
1 2 | interpEarth(LON, LAT, z, xo, yo, output = 'grid', retnum = TRUE,
patchwin = 90)
|
LON |
vector of input longitudes in [-180,360] |
LAT |
vector of input latitudes in [-90,90] |
z |
data values |
xo |
vector of gridded output longitudes |
yo |
vector of gridded output latitudes |
output |
CHARACTER, either 'grid' or 'points' |
retnum |
FALSE for output as akima's matrix. TRUE for gmeta6 compatible vector. That is, a numeric vector representing gridded values starting by the upper left corner, and advancing by rows first. |
patchwin |
REAL, interpolation in this function is not on the sphere, but works on the globe by recycling longitude bands at both sides. This arguments controls the width of the patchs at both sides. |
interpEarth
stacks longitudes bands in input data as approximate continuous
longitudinal domain
An akima's compatible matrix or a gmeta6 compatible vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.