interp_surface_grid: Regrid data

Description Usage Arguments Value

View source: R/interpolation.R

Description

Regrid data using a bilinear weights.

Usage

1
interp_surface_grid(x, y, z, x_g, y_g, edge = TRUE)

Arguments

x, y

vectors giving the coordinates of the grid to be interpolated

z

vector of the values to be interpolated (same length as x and y)

x_g, y_g

vectors giving the coordinates of the new grid (same length)

edge

logical, if TRUE the grid outside the range of x and y will be extrapolated using the nearest grid

Value

a vector of the regridded values


rijaf-iri/mtorwdata documentation built on March 9, 2021, 6:36 a.m.