load
- pyarts.xml.load(filename, search_arts_path=True)[source]
Load a variable from an ARTS XML file.
The input file can be either a plain or gzipped XML file.
By default, the current directory, ARTS_INCLUDE_PATH and ARTS_DATA_PATH environment variables are searched (in that order) if the passed filename is a relative path.
- Parameters:
- Returns:
Data from the XML file. Type depends on data in file.
Example
>>> pyarts.xml.load('tests/reference/matrix.xml') 0 1 2 3