ReadXML

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

Reads a workspace variable from an XML file.

This method can read variables of any group.

If the filename is omitted, the variable is read from <basename>.<variable_name>.xml. If the given filename does not exist, this method will also look for files with an added .xml, .xml.gz and .gz extension

Author(s): Oliver Lemke

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

  • filename (String, optional) – Name of the XML file. Defaults to "" [IN]