build.section.3d: Build Section (3D)

View source: R/section.misc.R

build.section.3dR Documentation

Build Section (3D)

Usage

build.section.3d(
  x,
  y,
  z,
  zz,
  xlim = NULL,
  ylim = NULL,
  zlim = NULL,
  x.factor = 1,
  y.factor = 1,
  z.factor = 1,
  x.scale = NULL,
  y.scale = NULL,
  z.scale = NULL,
  uncertainty = 1e-12,
  field.name = "zz",
  p = 3
)

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

field.nameSets the name of the new interpolated field. By default the name is 'z1' A function to build a 3d section using IDW interpolations. WARNING: Not currently maintained. Thomas Bryce Kelly Interpolation Oceanography Section


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