xugrid.UgridDataArrayAccessor.set_node_coords#

UgridDataArrayAccessor.set_node_coords(node_x: str, node_y: str)[source]#

Given names of x and y coordinates of the nodes of an object, set them as the coordinates in the grid.

Parameters:
  • node_x (str) – Name of the x coordinate of the nodes in the object.

  • node_y (str) – Name of the y coordinate of the nodes in the object.