core.read_config

Functions

add_output_process(mercury_conf)

find_paras_categories(paras_dict)

This "inverts" the parameter dictionary, allowing to find in which category a particular parameter lives, thus allowing to find its value in the paras dictionary.

flatten_paras_dict(paras_unflattened)

Used to convert a dictionary of parameters from this format:

read_mercury_config([config_file, ...])

read_scenario_config(case_study_id, ...)

read_toml(file)

Read a toml file and render it as a dictionary.

transform_conf_paras(mercury_conf)

unflatten_profiles(mercury_conf)

unfold_paras_dict(dictionary[, data_path])

update_scenario_paras_based_on_case_study(...)