WriteXMLIndexed

Workspace.WriteXMLIndexed(self, output_file_format: pyarts.arts.String | None = None, file_index: pyarts.arts.Index | None = None, input: object | None = None, filename: pyarts.arts.String | None = None, digits: pyarts.arts.Index | None = None) None

As WriteXML(), but creates indexed file names.

The variable is written to a file with name:

<filename>.<file_index>.xml.

where <file_index> is the value of file_index.

This means that filename shall here not include the .xml extension. Omitting filename works as for WriteXML().

See FileType for valid output_file_format.

Author(s): Patrick Eriksson, Oliver Lemke

Parameters:
  • output_file_format (String, optional) – The format of the output. Defaults to "ascii" [IN]

  • file_index (Index) – Index number for files. [IN]

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

  • filename (String, optional) – File name. See above. Defaults to "" [IN]

  • digits (Index, optional) – Equalize the widths of all numbers by padding with zeros as necessary. 0 means no padding (default). Defaults to 0 [IN]