-
Notifications
You must be signed in to change notification settings - Fork 10
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
division on loading loses grid #190
Comments
I'm using python3 here |
@doutriaux1 this is likely also true for many other operations (multiplication, ...) I think I generated a bug for this, or a similar behaviour in UV-CDAT sometime ago.. CDAT/cdat#1707 CDAT/cdat#1738 CDAT/cdutil#2 |
@durack1 this works currently in python2 it's coming from the unit test. I think it's py3 conversion related. |
@dnadeau4 I'm on Linux here, will try mac later. |
@doutriaux1 @dnadeau4 both issues (CDAT/cdat#1707 CDAT/cdat#1738) include code snippets that could be added in to the test to make sure that those issues are not propagating forward to CDMS3, or is it CDMS? It'd be great to clarify those issues are no longer a problem, and if they are fix them at the same time.. |
works
works |
@dnadeau4 do similar things happen with the below:
This refers to CDAT/cdat#1738 |
Got it to work. numpy introduced 2 new multiplication |
@dnadeau4 so the |
I could not reproduce this. |
Yes it does
output
|
@dnadeau4 exactly, so it's still a problem.. The weird thing above is that the shape of the variable is likely |
Numpy is messing it up by calling it's own squeeze. |
Just for ref this there are open issues for the |
@dnadeau4 FYI, if in the PR for the fix for this you include Fix CDAT/cdat#1738 In the PR comment, it'll close these issues when the PR is merged.. Pretty clean |
gives
Also:
gives
But:
gives
The text was updated successfully, but these errors were encountered: