A helper function that populates the xyz attribute in UXarray.ds. This function is called when we need to use the cartesian coordinates for each node to do the calculation but the input data only has the “Mesh2_node_x” and “Mesh2_node_y” in degree.
In the UXarray, we abide the UGRID convention and make sure the following attributes will always have its corresponding units as stated below:
unit: “degree_east” for longitude
unit: “degrees_north” for latitude