ert
ert copied to clipboard
SubstConfig has different default when passed with config_dict and filname
>>> from ert._c_wrappers.enkf import SubstConfig
>>> filename = "..." # name of config file
>>> config_dict = {...} # Config dictionary with same values as the config file
>>> SubstConfig(filename)
SubstConfig([(<DATE>, 2022-08-23, The current date.), (<NUM_CPU>, 1, Supplied by the user in the configuration file.) ...
>>> SubstConfig(config_dict=config_dict)
SubstConfig([(<DATE>, 2022-08-23, The current date.), (<NUM_CPU>, 0, The number of CPU used for one forward model.) ...
``