-
Notifications
You must be signed in to change notification settings - Fork 0
Simple tests for UGRID cube printing. #8
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
Simple tests for UGRID cube printing. #8
Conversation
|
This is just renaming test files? Is that what you meant @pp-mo ? |
Ooops, no. |
c9e16ee to
78378c9
Compare
|
Here it is. Sorry for the delay ! |
lbdreyer
left a comment
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.
Thanks @pp-mo ! I'll merge this once the tests pass (just to be safe)
| ugrid information: | ||
| Mesh0.node - - x | ||
| topology_dimension: 2 | ||
| node_coordinates: latitude longitude |
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.
So the test is failing on this line. It because these are contained in an unordered set (because there is not order inherent in the file, so to respect that and not to imply any order I just used a set). I could alphabetise them so that the results are consistent ?
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.
I will fix this in my branch (so I will merge this in the meantime), but I'd appreciate your thoughts on this ^ @pp-mo
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.
I now sort the list when it is created at load time:
SciTools@d8274ae#diff-3f092d0906b994c134f8f9d64c28652aR235
And so ugrid.node_coordinates now returns a list rather than a set
Suggested ultra-simple integration exercise of UGRID cube print strings.