WriteXML

Workspace.WriteXML(self, output_file_format: pyarts.arts.String | None = None, input: object | None = None, filename: pyarts.arts.String | None = None, no_clobber: pyarts.arts.Index | None = None) None

Writes a workspace variable to an XML file.

This method can write variables of any group.

If the filename is omitted, the variable is written to <basename>.<variable_name>.xml. If no_clobber is set to 1, an increasing number will be appended to the filename if the file already exists.

See FileType for valid output_file_format.

Author(s): Oliver Lemke

Parameters:
  • output_file_format (String, optional) – , optionalThe format of the output. [IN]

  • input (Any) – Variable to be saved. [IN]

  • filename (String, optional) – , optionalName of the XML file. [IN]

  • no_clobber (Index, optional) – , optional0: Overwrite existing files, 1: Use unique filenames. [IN]