% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interp_inputpts.R
\name{interp_inputpts}
\alias{interp_inputpts}
\title{Interpolate points of a single polygon}
\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{
\item{indata_sf}{points of a single field (with optional \code{"idfield"} attribute)}

\item{field_poly}{polygon of the field}

\item{vgm.fit}{variogram}

\item{globgrid}{grid generated by \code{make_interp_grid()}}

\item{method}{one between \code{"krige"} (default) and \code{"idw"}}

\item{n_cores}{1 for single core (default), more for multicore, NA for multicore autodetection}

\item{focal_types}{smoothing filters to be applied (vector of types of \code{focalWeight()})}

\item{focal_d}{list of filter parameters (see argument d of \code{focalWeight()})}

\item{border}{border (in CRS unit) to be cut (default: 0)}

\item{outdir}{directory where rasters are stores (default: temporary directory)}

\item{outname}{name of the output tif}

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

\item{nmax}{argument of \code{krige()} and \code{idw()}}

\item{maxdist}{argument of \code{krige()} and \code{idw()}}
}
\description{
TODO
}
\note{
License: GPL 3.0
}
\author{
Luigi Ranghetti, phD (2018) \email{ranghetti.l@irea.cnr.it}
}
