load_directory
- pyarts.xml.load_directory(directory, exclude=None)[source]
Load all XML files in a given directory.
Search given directory for files with
.xml
or.xml.gz
extension and try to load them usingload()
.- Parameters:
- Returns:
Filenames without extension are keys for the file content.
- Return type:
Example
Load all files in
foo
except for the lookup table inabs_lookup.xml.
>>> load_directory('foo', exclude=['abs_lookup.xml'])