watts.PluginGCMAT#

class watts.PluginGCMAT(template_file, extra_inputs=None, show_stdout=False, show_stderr=False)[source]#

Plugin for running GCMAT

Parameters:
  • template_file (Union[str, bytes, PathLike]) – Template file used to generate the input files

  • extra_inputs (Optional[List[Union[str, bytes, PathLike]]]) – Extra (non-templated) input files

  • show_stdout (bool) – Whether to display output from stdout when GCMAT is run

  • show_stderr (bool) – Whether to display output from stderr when GCMAT is run

Methods

postrun(params, exec_info)

Collect information from GCMAT simulation and create results object

prerun(params)

Generate GCMAT input files

run([end_year, output_folder])

Run GCMAT