def read_parameters(self):
param_fname = join(self.out_dir, "<STR_LIT>")<EOL>if not exists(param_fname):<EOL><INDENT>raise FileNotFoundError("<STR_LIT>")<EOL><DEDENT>with open(param_fname) as nml_file:<EOL><INDENT>parameters = dict(f90nml.read(nml_file))<EOL>for group in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>parameters[group] = dict(parameters[group])<EOL>for k, v in parameters[group].items():<EOL><INDENT>parameters[group][k] = _clean_value(v)<EOL><DEDENT>parameters[group.replace("<STR_LIT>", "<STR_LIT>")] = parameters.pop(group)<EOL><DEDENT>self.config = parameters<EOL><DEDENT>return parameters<EOL>
Read a parameters.out file

Returns
-------
dict
    A dictionary containing all the configuration used by MAGICC