SelSpace3D: SelSpace3D

View source: R/get-seasonal-cycle-parameters.R

SelSpace3DR Documentation

SelSpace3D

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

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/orbitalforcing documentation built on March 24, 2022, 11:25 a.m.