-
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
Fix vector plots #1560
Fix vector plots #1560
Conversation
Ref: #653 |
4e31235
to
a50fe9d
Compare
@aashish24 still lots of failures here. What changed? |
@doutriaux1 thats puzzling me. On my machine, I am getting only vector tests failure. Although I am using the patched VTK |
f3bdc79
to
99ba107
Compare
3f97702
to
4589d40
Compare
@doutriaux1 still the same. For some reason, I am not seeing these failing tests on my machine. |
@@ -27,14 +30,45 @@ def plot(self, data1, data2, tmpl, grid, transform): | |||
data1 = self._context().trimData2D(data1) | |||
data2 = self._context().trimData2D(data2) | |||
|
|||
scale = 1.0 | |||
|
|||
lat = data1.getLatitude()[:] |
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.
data1 could be NoneType
vcs_no_xtra_elts
fails because of that. (https://open.cdash.org/testDetails.php?test=375905204&build=4024522)
5040d2f
to
bd9ae1f
Compare
bd9ae1f
to
df7ef7b
Compare
@doutriaux1 this branch should be good to now. The problem (failing tests) was with VTK bug. I will fix the doWrap method in another PR. |
a0aecd6
to
5fed2d3
Compare
5fed2d3
to
1ff5fbd
Compare
Goes with CDAT/uvcdat-testdata#67 |
@aashish24 waiting for the bots to be done to confirm merge. Thanks for pushing this in. |
@aashish24 4 failures on oceanonly, but I think it is because master was merged in by bots. |
Right. there was an issue with the test-data. The only real test failing is test_no_extra_elements |
8693236
to
6e386fa
Compare
6e386fa
to
7ac099b
Compare
@doutriaux1 most of the tests are passing now. The multiple format one and label background one is failing for some other reason. |
@doutriaux1 this branch is looking good now. Not sure why the label and the click test is failing. https://open.cdash.org/testDetails.php?test=376700167&build=4028520 |
@aashish24 the reason is due to problems with the test image, so compare the baseline: |
@doutriaux1 could it be caused by my changes? thanks @durack1 |
@aashish24 I've been seeing this issue in a number of PRs #1540, #1560, #1557 - and it only seems to be a problem on |
@aashish24 @doutriaux1 I'm wondering if |
It doesn't merge in master like the others. Is that the issue? |
thanks @durack1 for the information. In that case, I think this branch looks good to me. Can someone review it @durack1 @sankhesh @jbeezley @chaosphere2112 |
@@ -0,0 +1,24 @@ | |||
import vcs, cdms2, numpy, os, sys |
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 file doesn't comply with PEP8 style.
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.
@sankhesh but I don't see flake8 test failing. what I am missing?
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.
We probably don't check the test scripts.
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.
Ah I see. Thanks @jbeezley. I will push a fix to follow the PEP8 stype in my next branch as I need to take care of doWrap as well.
thanks @doutriaux1 |
WIP: I have observed tests failing on my machine but the difference seems small. I just wanted to see how they run on buildbot machine.