convert_to_xml
convert_to_xml#
- convert_to_xml(src_ds: Any, attributes: list) lxml.etree._Element [source]#
Convert any dataset containig the given atgtributes to an XML _Element (i.e. netcdf dataset)
- Parameters
src_ds (Any) – Any dataset containing the given attribute list
attributes (list) – List of attributes to set in the wanted XML
- Returns
Wanted XML
- Return type
_Element