setup_directory()
.Input integrity checking for WeatherData and ManagementData.
PScanPlotter (plot_parameter_scan
) now allows to select which variable to display (from dBM, cBM and cBM_tot).
Instances where simulation results for variable dBM
are visualized or compared to experimental data now allow specifying and integration window for dBM
, which should be set to match the experimental reality. This concerns ModvegeSite$plot()
and analyze_parameter_scan()
as well as the compare.R
script.
S3 dispatch for plot method of ModvegeSite
objects -> plot(mvs)
is now possible if mvs
is a ModvegeSite
instance.
ParameterData
input checking: throws error on duplicate input parameter name.
Debug utility conveniences browse
and browse_end
.
ModvegeSite$plot_XXX
functions for more insights into model behaviour, with XXX in water
, limitations
, growth
and plot_var
for generic variable plotting.
Input data CSV files are now actual CSV files, instead of “semicolon-separated value” files.
ParameterData
now assumes default values for most parameters. check_parameters
now only throws an error if any of the really
required parameters are missing.
Number of days per year is now inferred from weather data instead of hardcoded to 365, allowing simulations to be run for years with incomplete data.
Crop coefficient (parameters$crop_coefficient
) and senescence capping are now model parameters instead of being hardcoded.
autocut: get_annual_gross_yield
was incorrectly hardcoded to return 1.
ParameterData$set_parameters
now updates initial condition values, if applicable.
Removed superfluous weather inputs.
Removed automatic temperature correction.
Redundant argument store_results in growR_run_loop
.
SEA
symmetrization around 1 is not enforced anymore.
rmodvege
to growR
.rmodvege-scripts
to R package structure.