Skip to contents

APSIMX file

Functions for Read and write apsimx file.

read_apsimx()
Read APSIMX file
test_apsimx()
Test whether all files under published folder of apsimx are required
write_apsimx()
Write APSIMX file

Search in the apsimx

Functions for search in the apsimx file.

search_node()
Find element(s) in apsimx file
search_path()
Find a model in the apsimx file using specified path

Walk through apsimx

Functions for walk through apsimx file.

get_parent()
Get the parent node from a path

Modify apsimx

Functions for modify apsimx file.

append_model()
append a model into apsimx
insert_model()
Insert a model into apsimx
new_model()
Create a new model
remove_model()
Remove a model with new values
replace_model()
Replace a model with new values
disable_models()
Disable models in apsimx
set_parameter_value()
Set a parameter with a new value

Run apsimx

Functions for run apsimx file.

available_models()
List all available models in APSIM NG
disable_models()
Disable models in apsimx
insert_models()
Insert models into apsimx
run_models()
Run apsimx file using Models.exe

Simulations

Functions related with simulations

get_simulations()
Get simulations for a factorial experiment
keep_simulations()
Keep simulations for a factorial experiment
get_metfile()
Get the met file name for an experiment

Cultivars

Functions for cultivar.

get_cultivar()
Get all cultivar parameters in a model
update_cultivar()
Title Update the cultivar parameters

Report

Functions for report.

list_report()
List all reports in the database
read_report()
Read apsimx database in db file format

Utilities

Utility functions.

minimum_apsimng()
Create the minimum requirements to run an APSIM Next Generation