build.section.parallel: Build Section with Parallel Processing

View source: R/section.building.R

build.section.parallelR Documentation

Build Section with Parallel Processing

Usage

build.section.parallel(
  x,
  y,
  z,
  lat = NULL,
  lon = NULL,
  xlim = NULL,
  ylim = NULL,
  x.factor = 1,
  y.factor = 1,
  x.scale = NULL,
  y.scale = NULL,
  uncertainty = 1e-12,
  p = 3,
  gridder = NULL,
  field.names = NULL,
  nx = 50,
  ny = 50,
  verbose = T
)

Arguments

x

dimensions (e.g. lat, lon, depth, section distance, time, etc)

y

dimensions (e.g. lat, lon, depth, section distance, time, etc)

z

signal to be gridded (e.g. T, S, ...)

xlim

Limits of the gridding. These are the bounds of the new x-y grid. Default: NULL will set it based on the data + 10

\item

ylimLimits of the gridding. These are the bounds of the new x-y grid. Default: NULL will set it based on the data + 10

\item

x.factorThe relative scale difference between x and y, used to calculate distances. Take into account actual scale AND the relevent scaling of the system (vertical distance tends to be more important than horizontal distance).

\item

y.factorThe relative scale difference between x and y, used to calculate distances. Take into account actual scale AND the relevent scaling of the system (vertical distance tends to be more important than horizontal distance).

\item

x.scaleThe step size in the new x-y grid. By default the scale is set to generate a grid that is 50x50.

\item

y.scaleThe step size in the new x-y grid. By default the scale is set to generate a grid that is 50x50.

\item

uncertainty= 0: Scaling applied to the distance from the cener of a grid cell to a vertex, used to add a base-line distance to all measurements. 0 = no minimum, 1 = minimum = to half a grid cell.

\item

gridderA function to perform gridding, options gridIDW (default: inverse distance), gridNN (nearest neighbor), gridNNI (natural neighbor) or gridKrige (Krigging)

\item

nxThe number of splits to make in the x direction (defaults to 50). Used only if x.scale is not set.

\item

nyThe number of splits to make in the y direction (defaults to 50). Used only if y.scale is not set.

\item

field.nameSets the name of the new interpolated field. By default the name is 'z1' Build Section with Parallel Processing Thomas Bryce Kelly Gridding


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.