code: def pull_cfg_from_parameters_out_file(
      parameters_out_file, namelist_to_read="nml_allcfgs"
  ):
      
      parameters_out = read_cfg_file(parameters_out_file)
      return pull_cfg_from_parameters_out(
          parameters_out, namelist_to_read=namelist_to_read
      )
docs: Pull out a single config set from a MAGICC ``PARAMETERS.OUT`` file.
  
      This function reads in the ``PARAMETERS.OUT`` file and returns a single file with
      the config that needs to be passed to MAGICC in order to do the same run as is
      represented by the values in ``PARAMETERS.OUT``.
  
      Parameters
      ----------
      parameters_out_file : str
          The ``PARAMETERS.OUT`` file to read
  
      namelist_to_read : str
          The namelist to read from the file.
  
      Returns
      -------
      :obj:`f90nml.Namelist`
          An f90nml object with the cleaned, read out config.
  
      Examples
      --------
      >>> cfg = pull_cfg_from_parameters_out_file("PARAMETERS.OUT")
      >>> cfg.write("/somewhere/else/ANOTHERNAME.cfg")