compass.Step.add_namelist_file¶
- Step.add_namelist_file(package, namelist, out_name=None, mode='forward')[source]¶
Add a file with updates to namelist options to the step to be parsed when generating a complete namelist file if and when the step gets set up.
- Parameters:
package (Package) – The package name or module object that contains
namelist
namelist (str) – The name of the namelist replacements file to read from
out_name (str, optional) – The name of the namelist file to write out,
namelist.<core>
by defaultmode ({'init', 'forward'}, optional) – The mode that the model will run in