Replies: 2 comments 1 reply
-
Minimal Create From VertexAs a way to start us off, I'll get us started with a quirk I found. The API allows for the creation of a If you try to initialize with one point, an error is returned as expected. This import uxarray as ux
import numpy as np
# initialize with one point
line = np.array([[0, 0]])
ux_line = ux.Grid(line) will return However, if you try to initialize with two points, no error is given: # initialize with two points
line = np.array([[0, 0], [1, 1]])
ux_line = ux.Grid(line) Should we throw an error for this input and maybe provide a custom error for initialization with one point? Should we also check that the vertices provided are unique? Let's talk about it! |
Beta Was this translation helpful? Give feedback.
-
I installed uxarray and tried to load a mesh file that is used by CESM, but I guess uxarray can't read this format yet. It looks like it is an ESMF-generated mesh. Here's what I did:
Probably predictably, I get:
|
Beta Was this translation helpful? Give feedback.
-
Hello uxarray community!
As this effort gets off the ground, there will undoubtedly be some issues, bugs, things that we didn't consider. We know not all issues or use cases can be covered by unit tests and would therefore like to invite everyone, contributors and user community to kick our tires. See what works, what doesn't, and what could use some improvement before an official release.
If you want to help, just use the package! If you're looking for an example of how to get going, you can look at GeoCAT's collaborators internal testing repo, here.
We ask that, if appropriate, anything you find be brought to this discussion thread as a way of keeping everything localized and ready for easy discussion.
Thank you and happy bug hunt!!
Beta Was this translation helpful? Give feedback.
All reactions