xugrid.UgridRolesAccessor.dimensions#

property UgridRolesAccessor.dimensions: Dict[str, Dict[str, str]]#

Get the dimension names from the topology attributes and infer them from connectivity arrays or coordinates.

Returns a dictionary with the UGRID dimensions per topology:

  • node dimension

  • edge dimension

  • face dimension

Returns:

dimensions

Return type:

dict[str, dict[str, str]]