compass.Step.add_namelist_options

Step.add_namelist_options(options, out_name=None, mode='forward')[source]

Add the namelist replacements to be parsed when generating a namelist file if and when the step gets set up.

Parameters
  • options (dict) – A dictionary of options and value to replace namelist options with new values

  • out_name (str, optional) – The name of the namelist file to write out, namelist.<core> by default

  • mode ({'init', 'forward'}, optional) – The mode that the model will run in