polaris.ModelStep.add_namelist_file

ModelStep.add_namelist_file(package, namelist)[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