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