-
Notifications
You must be signed in to change notification settings - Fork 300
Graphic Tests #2135
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
Graphic Tests #2135
Conversation
| pass | ||
|
|
||
| def test_coord_coord(self): | ||
| pass |
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.
This is a bit odd... It looks like we could either do with some content for these tests, or for them to be removed.
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.
this is an issue of test specialization. this test class is a specialization of a parent class, which implements a range of tests.
Some of these fail, some of these pass.
options:
- remove all the tests, including passing ones
- specialize these tests in this class and skip them (implemented)
would an extra developer comment stating that this is a skip pattern for the sub-class be sufficient in this case?
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.
would an extra developer comment stating that this is a skip pattern for the sub-class be sufficient in this case?
(see last commit)
|
@marqh it would be good to get an idea of...
|
DPeterK
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.
|
@dkillick I am not sure why such subtle changes in these 2 images occur. I have tried to mimick travis' environment as closely as I can to create these images, perhaps previous contributors had not been so careful, used different versions of cartopy, proj4, etc. The images are pretty close to the previous ones though |
|
@marqh @dkillick Could the subtle graphic shift be related to the change in Just a thought ... |
I believe not, one cube is built from scratch, one is loaded from a CF netCDF file, so neither should make use of that utility at all |
|
The Coriolis example is a small change in the outline of Seychelles or the Maldives, maybe due to new data. The Orca projection example is a change in scaling, which I think may have originated in Matplotlib somewhere. |
I have:
iris.util._is_circularfunction so that it correctly handles -ve diffs using np.abs