
A wrapper function for running AquaCrop for use in CroptimizR package
aquacrop_wrapper.Rdaquacrop_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:
AQis the aquacrop path as generated by thepath_configfunction,cycle_lengthan integer representing the length of the simulation period in days,growth_lengthan integer representing the length of the growth period in days,defaultparis the default parameter list as designed by theread_CROfunction,outputdefines the shape of the output that is returned anddaily_outputdefines the daily output variables that are generated by AquaCrop.