WriteXML
- Workspace.WriteXML(self, output_file_format: pyarts3.arts.String | None = None, input: object | None = None, filename: pyarts3.arts.String | None = None, no_clobber: pyarts3.arts.Index | None = None) None
Writes a workspace variable to an XML file.
This method can write variables of any group.
If no_clobber is set to 1, an increasing number will be appended to the filename if the file already exists.
See
FileType
for validoutput_file_format
.Note
ARTS groups, including those that are not workspace groups, generally have a method called
savexml
that you can access directly from python. It is often more convenient and better to use this method directly instead of using this workspace method. It exists mainly for completeness and for use in agendas.Author: Oliver Lemke