xarray_eop.datatree_to_uml

xarray_eop.datatree_to_uml#

xarray_eop.datatree_to_uml(product: DataTree[Any], name: str | None = None, direction: int = 0) str#

Generate a simplified UML diagram from a datatree

Parameters:
  • product (datatree.DataTree) – input DataTree structure

  • name – Title given to the UML diagram. If not set, the product name will be used. Default None

  • optional – Title given to the UML diagram. If not set, the product name will be used. Default None

  • direction – top_to_bottom (0) or left_to_right (1), by default 0

  • optional – top_to_bottom (0) or left_to_right (1), by default 0

Return type:

plantUML string