pycoupler.CoupledConfig#

class pycoupler.CoupledConfig(config_dict)[source]#

Bases: SubConfig

Class to handle coupled model configurations.

to_dict()#

Convert class object to dictionary.

Returns:

Dictionary representation of the class object.

Return type:

dict

to_json(file_name=None)#

Write the configuration to a JSON file.

Parameters:

file_name (str, optional) – File name (including relative/absolute path) to write JSON to. If None, a default name is used.

Returns:

File name of the written JSON file.

Return type:

str