Skip to contents

Extract the incoming and outgoing flux from below the deepest layer of a pro_flux() model. This returns zero, if zero_flux=TRUE.

Usage

deepflux(x, ...)

Arguments

x

A valid cfp_pfres() object.

...

Further parameters passed on to efflux() in case of cfp_fgres.

Value

data.frame with F0 (\(µmol / m^2 / s\))

Details

F0 represents the flux below the lowest layer defined in the cfp_pfres() model

Examples

PROFLUX <- ConFluxPro::base_dat |> pro_flux()

deepflux(PROFLUX)
#> zero_flux boundary condition is
#>                         TRUE -> F0 is always 0.
#> 
#> A cfp_layered_profile object 
#> id_cols: prof_id 
#> 24  unique profiles 
#> 
#>    prof_id F0   site       Date gas
#> 1        1  0 site_a 2021-01-01 CO2
#> 2        3  0 site_a 2021-02-01 CO2
#> 3        5  0 site_a 2021-03-01 CO2
#> 4        7  0 site_a 2021-04-01 CO2
#> 5        9  0 site_a 2021-05-01 CO2
#> 6       11  0 site_a 2021-06-01 CO2
#> 7       13  0 site_a 2021-07-01 CO2
#> 8       15  0 site_a 2021-08-01 CO2
#> 9       17  0 site_a 2021-09-01 CO2
#> 10      19  0 site_a 2021-10-01 CO2
#> 11      21  0 site_a 2021-11-01 CO2
#> 12      23  0 site_a 2021-12-01 CO2
#> 13       2  0 site_b 2021-01-01 CO2
#> 14       4  0 site_b 2021-02-01 CO2
#> 15       6  0 site_b 2021-03-01 CO2
#> 16       8  0 site_b 2021-04-01 CO2
#> 17      10  0 site_b 2021-05-01 CO2
#> 18      12  0 site_b 2021-06-01 CO2
#> 19      14  0 site_b 2021-07-01 CO2
#> 20      16  0 site_b 2021-08-01 CO2
#> 21      18  0 site_b 2021-09-01 CO2
#> 22      20  0 site_b 2021-10-01 CO2
#> 23      22  0 site_b 2021-11-01 CO2
#> 24      24  0 site_b 2021-12-01 CO2