Repository navigation
Conversation
|
Do you know what the problem was with the previous implementation? If I remember it was still having problems? |
I haven't been able to pinpoint the problem, but everything appears to be working correctly here according to the tests. |
|
I'm going to merge these changes into the branch used in #859 to see the compatibility. |
|
May you take a look at the case using the |
|
what tests are failing? we may want to issue a warning on how and what is supported. |
Something with the Dual Mesh Construction on the Cube Sphere grid is breaking. It's complaining about a dimension miss match when assigned the faces. I don't believe it's an issue with how we are merging ndoes. |
Oh yeah, I know the problem. Let me fix it for you. |
|
@philipc2 There you go! |
Thanks for fixing this so quickly! |
|
@philipc2 I am not exactly sure what's happening, but I don't believe its a problem with my code. The only reason you are getting that error is because the connectivity that you are passing in is broken I think. Comment out the line in construct_faces that says if |
Yeah that seems to be the case, I'll look into it! |
Something still appears to be off, I'm getting the same error now (even though the connectivity appears to have been corrected) |
|
Can you push the changes that fixed the connectivity? |
rajeeja
left a comment
There was a problem hiding this comment.
just one minor test and this is good go.
|
|
||
| def test_duplicate(self): | ||
| uxgrid = ux.open_grid(gridfile_geos) | ||
| uxgrid.merge_duplicate_node_indices() |
There was a problem hiding this comment.
add an assert to check that compute_dual fails or produces incorrect stuff without this operation.


Closes #865
Overview
merge_duplicate_node_indices()function that replaces the index of nodes that have the exact latitude and longitude to only reference one node.Expected Usage