fastkriege: Calculate Kriging predictions

View source: R/f90kriege.R

fastkriegeR Documentation

Calculate Kriging predictions

Description

Now assumes that the coordinate names are longitude and latitude.

Usage

fastkriege(
  trend_model = temperature ~ -1,
  data,
  grid,
  cov.pars,
  lsm = NULL,
  lsmy = NULL,
  alt = NULL,
  alty = NULL,
  altlen = 200,
  bg = NULL,
  variable = "temperature",
  LapseRate = 0,
  method = "bilinear"
)

Arguments

trend_model

formula to build the regression matrices

data

data containing station temperatures as SpatialPoints

grid

definition of model grid, must contain longitude, latitude coordinates and variables used in trend_model

cov.pars

c(sigmasq,phi,tausq)

lsm, lsmy

land sea masks for grid and data

alt, alty

altitude information for the grid and data

altlen

range parameter for altitude (meters)

bg

optional background field of the same dimensions as the grid

variable

the name of the variable to be gridded, default "temperature"


mjlaine/fastgrid documentation built on July 24, 2022, 2:43 a.m.