convert_to_xml#
- convert_to_xml(src_ds: Any, attributes: list) _Element [source]#
Convert any dataset containing the given attributes to
lxml _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