shelfSurveyInterpBarnes | R Documentation |
This function applies the appropriate methodology decided on for interpolating shelf survey CTD measurements that has been tailored to the scotian shelf.
shelfSurveyInterpBarnes(
ctd,
fullgrid,
grid,
variable,
xg,
yg,
xr,
yr,
iterations,
gamma,
averagingMethod,
trimOutput,
trimDistance,
debug = FALSE
)
ctd |
a list of ctd objects |
fullgrid |
a data.frame containing the full original grid which contains columns, |
grid |
a data.frame containing the grid points that data should be interpolated. This includes columns
|
variable |
a character value specifying which variable to extract from the |
xg , yg |
vectors defining x and y grids, see interpBarnes for additional clarification. |
xr , yr |
lengths of the x and y grids for barnes interpolation, see interpBarnes for additional clarification. |
iterations |
number of iterations for barnes interpolation, see interpBarnes for additional clarification. |
gamma |
grid-focussing parameter for barnes interpolation, see interpBarnes for additional clarification. |
averagingMethod |
a character vector of length one indicating how to vertically average the data to input
into the barnes interpolation. Current options include |
trimOutput |
a logical value indicating if the barnes output should trim the grid output based on the input
data. If |
trimDistance |
a numeric value indicating the distance, in kilometers, where barnes interpolation
output will be deemed valid if supplied data falls within the given distance. If not, the barnes output
at that grid point will be assigned a value of |
debug |
a logical value indicating if some debug messages should be displayed. |
a data.frame of the barnes interpolation output at each grid point defined in full grid, if the given
depth value and or grid points are specified in grid. The data.frame includes x
the longitude, y
the latitude,
depth
the depth, and data
the barnes output of the smoothed interpolated data for the given variable.
Chantelle Layton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.