A wrapper function for running AquaCrop for use in CroptimizR package
aquacrop_wrapper.Rd
aquacrop_wrapper
takes parameter values as an input for an AquaCrop simulation and returns a result list as requested by the
CroptimizR
package.
Arguments
- param_values
list of crop parameters to modify from the default
- situation
character vector of scenario names as listed in the Scenario_s tibble
- model_options
list of model options:
AQ
is the aquacrop path as generated by thepath_config
function,cycle_length
an integer representing the length of the simulation period in days,growth_length
an integer representing the length of the growth period in days,defaultpar
is the default parameter list as designed by theread_CRO
function,output
defines the shape of the output that is returned anddaily_output
defines the daily output variables that are generated by AquaCrop.