load_indexed

pyarts.xml.load_indexed(filename)[source]

Load all indexed XML files matching the given filename.

The function searches all files matching the pattern <filename>.<file_index>.xml or <filename>.<file_index>.xml.gz.

A list with the loaded file contents is returned. The list indices are equivalent to the file indices.

Parameters:

filename (str) – Filename.

Returns:

List of file contents.

Return type:

list

Example

Load all files matching the pattern foo.<file_index>.xml.

>>> load_indexed_xml('foo')