interpolate_crossection: interpolate_crossection

Description Usage Arguments Value

View source: R/utility_functions.R

Description

Increasingly coarse bilinear interpolation of missing data

Usage

1
2
3
4
5
6
7
8
9
interpolate_crossection(
  crossection,
  variable,
  lon,
  lat,
  input_folder,
  date_var = NULL,
  add_pg_index = TRUE
)

Arguments

crossection

a dataframe crossection lon, lat, variable

variable

the variable to interpolate missing from

lon

a string denoting the name of the longitude variable

lat

a string denoting the name of the latitude variable

add_pg_index

boolean, whether to add a pgid column or not. Default is TRUE.

Value

the interpolated crossection


prio-data/priogrid documentation built on June 28, 2021, 5:34 a.m.