fill_grd function

Add date columns and fill missing values in the interpolation grids

Add date columns and fill missing values in the interpolation grids

Add date, year, month, and day columns to the interpolation grids using dates from dat_in. The interp.surface function is used after splitting the interpolation matrix by month to fill missing values. Function is used in wrtds.

fill_grd(grd_in, dat_in, interp = FALSE)

Arguments

  • grd_in: interpolation grid to fill, either a single mean grid or an individual quantile grid created within wrtds
  • dat_in: tidal or tidalmean object
  • interp: logical for interpolation
  • Maintainer: Marcus W. Beck
  • License: CC0
  • Last published: 2023-10-20

Useful links