-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 1730 mesh with missing vertices #1731
Conversation
great @doutriaux1 how should we handle nan? |
@aashish24 basically nan means |
@aashish24 @sankhesh @chaosphere2112 ready for review |
goes with: CDAT/uvcdat-testdata#94 |
@doutriaux1 if this is a uniform grid, we should probably using masking array. Thoughts? |
@aashish24 Actually, this is for |
@aashish24 it is actually using masked arrays anyway. And @chaosphere2112 is right these are non-uniform grids, and in this case really non-uniform (different number of vertices for each cell) |
@doutriaux1 thanks.. can you fix the style issue? |
nah... |
@chaosphere2112 sorryI meant to say regular grid / structured grid which curve linear is. |
@@ -263,7 +263,7 @@ def genGrid(data1, data2, gm, deep=True, grid=None, geo=None): | |||
xM = m[:, 1].max() | |||
ym = m[:, 0].min() | |||
yM = m[:, 0].max() | |||
N = m.shape[0] | |||
numberOfCells = m.shape[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice var name thanks 👍
@doutriaux1 changes LGTM 👍 |
If bots are happy, I am going to merge it.. nice job @doutriaux1 @sankhesh |
…rtices Issue 1730 mesh with missing vertices
@aashish24 please do not forget to merge baselines as well. Thanks. I just merged it in. Thx @durack1 for spotting this. |
@aashish24 @sankhesh thanks to @sankhesh help I got the shapes to be drawn correctly, but they still appear to be drawn as missing, I think the "nan" bit throws off VTK ? Help wanted 😉