Should Mesh
class allow for any number of node coordinates?
#5994
trexfeathers
started this conversation in
UGRID
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The UGRID conventions are flexible enough that mesh coordinates (
node_coordinates
,edge_coordinates
,face_coordinates
) can be pretty much anything - XY / XYZ / spherical coordinates / S2 indices / ... Any of these can be connected into edges or faces using the standard connectivity structure.Iris'
Mesh
class currently assumes X and Y coordinates only. This enables a lot of assumptions during construction and when working with iris-esmf-regrid and GeoVista, but is much more limited than the scope of UGRID itself.We could remove a lot of the structure of
Mesh
to allow for any sort of coordinates. If this makes downstream XY operations difficult then perhaps we could create aMeshXY
subclass with all the extra XY conveniences?This would be quite a big refactor and only something we could do before moving out of experimental (#5990) or in a future Major release.
Beta Was this translation helpful? Give feedback.
All reactions