ReadXML

Workspace.ReadXML(self, output: object | None = None, filename: pyarts3.arts.String | None = None) None

Reads a workspace variable from an XML file.

This method can read variables of any group.

If the given filename does not exist, this method will also look for files with an added .xml, .xml.gz and .gz extension.

Note

ARTS groups, including those that are not workspace groups, generally have two methods called fromxml and readxml that you can access directly from python. It is often more convenient and better to use these methods directly instead of using this workspace method. It exists mainly for completeness and for use in agendas.

Author: Oliver Lemke

Parameters:
  • output (Any) – Variable to be read. Defaults to create and/or use self.output : Any. [OUT]

  • filename (String) – Name of the XML file. [IN]