Runs BiomeE model for multiple sites.

runread_biomee_f(drivers, makecheck = TRUE, parallel = FALSE, ncores = 2)

Arguments

drivers

A nested data frame with one row for each site and columns named according to the arguments of function run_biomee_f_bysite. Namely sitename, params_siml, site_info and forcing.

makecheck

A logical specifying whether checks are performed to verify forcings and model parameters. TRUE by default.

parallel

Flag specifying whether simulations are to be parallelised (sending data from a certain number of sites to each core). Defaults to FALSE.

ncores

An integer specifying the number of cores used for parallel computing. Defaults to 2.

Value

A data frame (tibble) with one row for each site, site information stored in the nested column site_info and model outputs stored in the nested column data. See run_biomee_f_bysite for a detailed description of the outputs. Example outputs are provided as p_model_output and p_model_output_vcmax25.

Examples

# \donttest{
# Example BiomeE model run

runread_biomee_f(
  drivers = biomee_gs_leuning_drivers
)
#> # A tibble: 1 × 2
#>   sitename data            
#>   <chr>    <list>          
#> 1 CH-Lae   <named list [3]>
runread_biomee_f(
  drivers = biomee_p_model_drivers
)
#> # A tibble: 1 × 2
#>   sitename data            
#>   <chr>    <list>          
#> 1 CH-Lae   <named list [3]>
# }