mw_conc_init: Initialize base streamline concentration table.

Description Usage Arguments Details Value Examples

View source: R/mw_conc_init.R

Description

Initialize base streamline concentration table.

Usage

1
mw_conc_init(strm_lns, conc_l_lev, conc_l)

Arguments

strm_lns

Streamlines as read from function mw_read_streamlines()

conc_l_lev

Levels of concentration layers (RasterBrick).

conc_l

Concentration layers (RasterBrick).

Details

Add concentrations (conservative) at all locations (x,y,z) of streamline trajects and remove redundant records (no concentration change).

Value

table (tibble) with the following variables (columns):

Examples

1
2
3
4
fname <- system.file("extdata","streamlines.iff",package="mipwelcona")
strm_lns <- mw_read_streamlines(fname)
x <- mw_conc_init(strm_lns, conc_l_lev=mw_example_conc_layer_levels(),
     conc_l=mw_example_concentrations())

KeesVanImmerzeel/mipwelcona documentation built on Nov. 11, 2020, 10:35 p.m.