ReadXMLIndexed
- Workspace.ReadXMLIndexed(self, output: object | None = None, file_index: pyarts3.arts.Index | None = None, filename: pyarts3.arts.String | None = None, digits: pyarts3.arts.Index | None = None) None
As
ReadXML()
, but reads indexed file names.The variable is read from 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.Note
ARTS groups, including those that are not workspace groups, generally have two methods called
fromxml
andreadxml
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) – Workspace variable to be read. Defaults to create and/or use
self.output
:Any
. [OUT]file_index (Index) – Index of the file to read. [IN]
filename (String) – File name. See above. [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]