Replies: 2 comments
-
To be more concrete for conversion of the in-memory representations, do you think we could use For the other way around, if the cell ids / grid parameters are already available I think it might be fine to convert to Once we've resolved those question I guess we'd also have to figure out where the conversion methods should live. I told @erogluorhan this before, but I would be open to scheduling a separate, dedicated meeting discussing the finer details if you prefer. Otherwise I'd also be fine with continuing this discussion here or on the |
Beta Was this translation helpful? Give feedback.
-
Hi @keewis, thanks a lot for opening this discussion, and sorry for my delayed reply (though, I am glad we had a few chances to discuss through Pangeo meetings so far)! UXarray is aimed to support multiple arbitrary, horizontally unstructured grid formats, representing them in a unified, UGRID convention-like model. The essential information Uxarray needs to explicitly have for such a representation is:
(We have recently released functionality to create UXarray grids even from point clouds, using Delaunay triangulation and Voronoi tesselations, but it has the connectivity information being created as a result of these processes, hence the same explicit representation) I think this is the main difference between the UXarray representation and DGGS where there is no need for explicitly defined connectivities because the number and locations of "pixels" for DGGS grids are fixed for each predefined resolution level (and some other related parameters). Each has its own advantages of course, and it'd be great to further our discussions on those ends to better understand each other. That said, any UXarray representation of a DGGS would require us to generate the connectivity information between faces and nodes. Please see the code snippet in another discussion, which was a preliminary look into recognizing HEALPix grids in UXarray that is nowhere optimized, for getting a sense of it conceptually. This is also applicable to reading I hope this helps and am looking forward to further discussion/coolaboration. |
Beta Was this translation helpful? Give feedback.
-
Over the past year, I've been working on
xdggs
, a package that allow working with discrete global grid systems (DGGS) by making use of the information in the indexing scheme.As far as I understand it,
uxarray
works in a similar space (for example see #1028), but instead of using the cell / node / zone ids it makes use of the mesh / cell boundaries.In opening this discussion I'm particularly interested in figuring out how both libraries relate to each other, how they could interact (e.g. transformation between the two in-memory representations), and in general how we can collaborate better.
cc @allixender
Beta Was this translation helpful? Give feedback.
All reactions