update_parameters() update the global parameters used in the TROLL simulation from a TROLL outputs for a next simulation. All parameters have a default value used in French Guiana simulations.

update_parameters(sim, ...)

# S4 method for class 'trollsim'
update_parameters(sim, ...)

Arguments

sim

trollsim.

...

parameters to update and their values (see generate_parameters() for a complete list).

Value

a data.frame()

Examples


data("TROLLv3_output")
head(update_parameters(TROLLv3_output, iters = 10))
#> # A tibble: 6 × 3
#>   param        value description                        
#>   <chr>        <dbl> <chr>                              
#> 1 cols           100 /* nb of columns */                
#> 2 rows           100 /* nb of rows  */                  
#> 3 HEIGHT          70 /* vertical extent of simulation */
#> 4 length_dcell    25 /* linear size of a dcell */       
#> 5 nbiter        1200 /* total nb of timesteps */        
#> 6 iterperyear     12 /* number of iteration per year */