Upgrade XML files (9.2) to STICS version 10.0 format

upgrade_workspace_xml()

Upgrading XML files of a JavaSTICS workspace directory to a newer STICS version format

upgrade_usms_xml()

Upgrading a usms.xml file to a newer version

upgrade_sols_xml()

Upgrading a sols.xml file to a newer version

upgrade_sta_xml()

Upgrading _sta.xml file(s) to a newer version

upgrade_ini_xml()

Upgrading _ini.xml file(s) to a newer version

upgrade_plt_xml()

Upgrading _plt.xml file(s) to a newer version

upgrade_tec_xml()

Upgrading _tec.xml file(s) to a newer version

upgrade_param_gen_xml()

Upgrading a param_gen.xml file to a newer version

upgrade_param_newform_xml()

Upgrading a param_newform.xml file to a newer version

Find information on parameters and variables

get_param_info()

Finding parameters information using partial search words

is_stics_param()

Search if a STICS parameter exist

get_var_info()

Find STICS output variable names and description

is_stics_var()

Search if a STICS variable exist

Generate JavaStics Input files (XML format)

Functions for generating a set of XML files of a given type (from existing XML file or given template, plus a data.frame describing the parameters to modify for each file to create)

read_params_table()

Getting parameters data from tables files (Excel sheet, csv)

gen_ini_xml()

Generate STICS ini xml file(s) from a template or an input file

gen_sols_xml()

Generate STICS sols xml file from a template or an input file

gen_sta_xml()

Generate STICS sta xml file(s) from a template or an input file

gen_tec_xml()

Generate STICS tec xml file(s) from a template or an input file

gen_usms_xml()

Generate STICS usms xml file from a template or an input file

gen_general_param_xml()

Generate STICS general parameters xml file(s) from a template file according to a STICS version

Upgrade JavaStics XML files from version 9.2 or (9.1) to 10.0

Functions for upgrading parameter files

upgrade_param_gen_xml()

Upgrading a param_gen.xml file to a newer version

upgrade_param_newform_xml()

Upgrading a param_newform.xml file to a newer version

upgrade_usms_xml()

Upgrading a usms.xml file to a newer version

upgrade_plt_xml()

Upgrading _plt.xml file(s) to a newer version

upgrade_sols_xml()

Upgrading a sols.xml file to a newer version

upgrade_ini_xml()

Upgrading _ini.xml file(s) to a newer version

upgrade_tec_xml()

Upgrading _tec.xml file(s) to a newer version

upgrade_sta_xml()

Upgrading _sta.xml file(s) to a newer version

upgrade_workspace_xml()

Upgrading XML files of a JavaSTICS workspace directory to a newer STICS version format

Set values in JavaStics Input files (XML format)

set_param_xml()

Setting parameter values into xml files

Get values from JavaStics Input files (XML format)

get_param_xml()

Getting parameter values from xml files

get_plants_nb()

Getting plants number per usm for all usms or selected from a usm name vector

get_usms_files()

Getting existing xml files path list per usm from an usms.xml file

get_usms_list()

Getting usms names list for an usms.xml file

get_soils_list()

Get the soil names for an usms.xml file

get_cultivars_list()

Get the cultivar names for an xml plant file (*_plt.xml)

get_cultivars_param()

Get the values of cultivar-specific parameters from an xml plant file (*_plt.xml)

Generate Stics Input files (Text format)

Input parameters files, outputs definition files or observations files

gen_usms_xml2txt()

Generating one or several usms directories from a javastics workspace content

convert_xml2txt()

Transforming a STICS xml file into a text file

force_param_values()

Generates files to force parameters values in STICS simulations

gen_varmod()

Generating a var.mod type file

Set values in Stics Input files (Text format)

set_param_txt() set_usm_txt() set_station_txt() set_ini_txt() set_general_txt() set_tmp_txt() set_plant_txt() set_tec_txt() set_soil_txt()

Set (replace) STICS input file parameters

Get values in Stics Input files (Text format)

get_param_txt() get_ini_txt() get_general_txt() get_tmp_txt() get_plant_txt() get_tec_txt() get_soil_txt() get_station_txt() get_usm_txt()

Read STICS input parameters from text files

get_plants_nb()

Getting plants number per usm for all usms or selected from a usm name vector

get_climate_txt()

Read STICS input meteorology file

get_varmod()

Get desired STICS outputs

get_lai_forcing()

Getting LAI forcing for each usm

Get values in Stics Output files

get_sim()

Load and format STICS daily output file(s)

get_report_results()

Extracting data from the STICS report file

Manage observation files

gen_obs()

Generating observation data files from a data.frame

get_obs()

Read STICS observation files (*.obs)

Example data

For files examples by Stics version

get_examples_path()

Getting examples files path attached to a STICS version for a given file type

download_data()

Download example USMs

download_usm_xl()

Downloading an Excel usms data file example into a directory

download_usm_csv()

Downloading a CSV usms data file example into a directory

Misc

Miscellaneous helper functions

get_stics_versions_compat()

Get the compatible STICS versions

is_mac()

Evaluating if the OS is a Mac OS type

is_unix()

Evaluating if the OS is a unix like type

is_windows()

Evaluating if the OS is a windows type

`[`(<cropr_simulation>)

[ method for cropr_simulation

compute_day_from_date()

Convert date into day number

compute_date_from_day()

Convert day number into date