uxarray
uxarray copied to clipboard
Inconsistent Normalization of Cartesian Coordinates in `node_x`, `node_y`, and `node_z`
Version
v2024.06
How did you install UXarray?
Conda
What happened?
Our project performs geometric operations on unstructured grids on a unit sphere, which means all points on the sphere should be normalized. The normalized Cartesian coordinates are stored in the node_x
, node_y
, and node_z
variables.
However, while in most cases the node_x
, node_y
, and node_z
variables are normalized as they should be, when reading in the MPAS data, these variables are not normalized. This inconsistency leads to breakdowns in subsequent operations.
What did you expect to happen?
the node_x
, node_y
, and node_z
variables to be consistently normalized across all datasets, including the MPAS data.
It is crucial to emphasize and document that node_x
, node_y
, and node_z
must always represent normalized points on the sphere. Ensuring these variables are normalized as required is essential for the robustness and reliability of our project.
Can you provide a MCVE to repoduce the bug?
No response