fill_grd: Add date columns and fill missing values in the interpolation...

View source: R/fill_grd.R

fill_grdR Documentation

Add date columns and fill missing values in the interpolation grids

Description

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.

Usage

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


fawda123/WRTDStidal documentation built on Oct. 22, 2023, 11:28 p.m.