pro_flux | R Documentation |
This implements an inverse modeling approach which optimizes vertically resolved production (or consumption) of the gases in question to fit a modeled concentration profile to observed data.
One boundary condition of this model is, that there is no incoming or
outgoing flux at the bottom of the lowest layer of the profile. If this
boundary condition is not met, the flux must be optimised as well. This can
be set in zero_flux
.
pro_flux(x, ...)
## S3 method for class 'cfp_dat'
pro_flux(x, ...)
## S3 method for class 'cfp_pfres'
pro_flux(x, ...)
## S3 method for class 'cfp_pfmod'
pro_flux(x, ...)
Other flux models:
fg_flux()
{
soilphys <-
cfp_soilphys(
ConFluxPro::soilphys,
id_cols = c("site", "Date")
)
gasdata <-
cfp_gasdata(
ConFluxPro::gasdata,
id_cols = c("site", "Date")
)
lmap <-
cfp_layers_map(
ConFluxPro::layers_map,
gas = "CO2",
lowlim = 0,
highlim = 1000,
id_cols = "site"
)
PROFLUX <-
cfp_dat(gasdata,
soilphys,
lmap ) |>
pro_flux()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.