polaris.ModelStep.add_model_config_options

ModelStep.add_model_config_options(options, config_model=None)[source]

Add the replacement model config options to be parsed when generating a namelist or yaml file if and when the step gets set up. The config values should be in the appropriate python data type: bool, float, int or str.

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

  • config_model (str, optional) – If config options are available for multiple models, the model that the config options are from