Currently on Github only. Install with:
wheat.apsimx in the validation dataset of APSIM NG is used as an example. Function
read_apsimx is used to read
*.apsimx file through
jsonlite::read_json and returns as a list.
A node in the apsimx file can be found using the path specification in APSIM NG.
potential <- search_path(m, path = '[Structure].BranchingRate.PotentialBranchingRate.Vegetative.PotentialBranchingRate') potential
new <- replace_model(m, potential$path, new_model)
run_models is wrapped for APSIM NG
Models.exe in the command line and can be called to run apsimx files. See APSIM website for documentation.