SelSpace3D: SelSpace3D

Description Usage Arguments Value Author(s)

View source: R/select-fields.R

Description

Function to interpolate a field to a given point specified by latitude and longitude. It uses the nearest neighbour if the adjancents points are missing, if not it uses bilinear interpolation

Usage

1
2
3
4
5
6
7
8
9
SelSpace3D(
  data,
  lat1,
  lon1,
  SBOX = 5,
  tolLon = 10,
  bNN = FALSE,
  timeindexNA = 1
)

Arguments

data

pField object

lat1

vector length 1

lon1

vector legnth 1

SBOX

vector length 1, defaults to 5

tolLon

vector length 1, defaults to 10

bNN

logical, defaults to FALSE

timeindexNA

at which timestep should the Next Neighbour algorithm search for missing values

Value

pTs object

Author(s)

Thomas Laepple


EarthSystemDiagnostics/pfields documentation built on Jan. 10, 2022, 10:37 p.m.