interp_inputpts: Interpolate points of a single polygon

View source: R/interp_inputpts.R

interp_inputptsR Documentation

Interpolate points of a single polygon

Description

TODO

Usage

interp_inputpts(
  indata_sf,
  field_poly,
  vgm.fit,
  globgrid,
  method = "krige",
  n_cores = 1,
  focal_types = NULL,
  focal_d = NULL,
  border = 0,
  outdir = tempdir(),
  outname = NA,
  samplesize = 10000,
  nmax = 1000,
  maxdist = Inf
)

Arguments

indata_sf

points of a single field (with optional "idfield" attribute)

field_poly

polygon of the field

vgm.fit

variogram

globgrid

grid generated by make_interp_grid()

method

one between "krige" (default) and "idw"

n_cores

1 for single core (default), more for multicore, NA for multicore autodetection

focal_types

smoothing filters to be applied (vector of types of focalWeight())

focal_d

list of filter parameters (see argument d of focalWeight())

border

border (in CRS unit) to be cut (default: 0)

outdir

directory where rasters are stores (default: temporary directory)

outname

name of the output tif

samplesize

maximum size of the sample of the original data to work with (default: 10000; if NA: all the points)

nmax

argument of krige() and idw()

maxdist

argument of krige() and idw()

Note

License: GPL 3.0

Author(s)

Luigi Ranghetti, phD (2018) ranghetti.l@irea.cnr.it


ranghetti/guinterp documentation built on March 30, 2024, 3:42 a.m.