Skip to content
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

Warning from numpy1.9.0 in ESMP_API.py and avariable.py #62

Closed
chaosphere2112 opened this issue Nov 22, 2016 · 5 comments
Closed

Warning from numpy1.9.0 in ESMP_API.py and avariable.py #62

chaosphere2112 opened this issue Nov 22, 2016 · 5 comments
Labels
Milestone

Comments

@chaosphere2112
Copy link
Contributor

@chaosphere2112 chaosphere2112 commented Nov 22, 2016

[durack1@oceanonly 140115_PeterGleckler]$ /usr/local/uvcdat/2014-07-21/bin/python
Python 2.7.7 (default, Jul 21 2014, 15:49:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import numpy
numpy.version.version
'1.9.0b1'

/usr/local/uvcdat/2014-07-21/lib/python2.7/site-packages/ESMP/src/ESMP_API.py:1241: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
  if (srcMaskValues != None):

and same file another line:

/usr/local/uvcdat/2014-08-22/lib/python2.7/site-packages/ESMP/src/ESMP_API.py:1248: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
  if (dstMaskValues != None):

Migrated from: CDAT/cdat#576

@zshaheen
Copy link
Contributor

@zshaheen zshaheen commented Jan 26, 2017

@dnadeau4 This is still an issue. Not sure what the solution is or if anyone in this team can do something about this.

@durack1
Copy link
Member

@durack1 durack1 commented Jan 26, 2017

@zshaheen theoretically #57 (CDAT/cdat#1151) should solve this, the current cdms2 ESMP release is 6.3.0 whereas 7.0.0 has been out for a while

@zshaheen
Copy link
Contributor

@zshaheen zshaheen commented Jan 26, 2017

@durack1 Thanks for the heads up. Glad to know that there is a possible solution. Hopefully someone will bother upgrading soon.

@doutriaux1
Copy link
Contributor

@doutriaux1 doutriaux1 commented Jan 26, 2017

@zshaheen it's on @dnadeau4 list but if you have cycles and it really bothers you I'm sure he won't mind 😉

@dnadeau4
Copy link
Contributor

@dnadeau4 dnadeau4 commented Apr 21, 2017

This warning has been fix with ESMF 7.0.0

@dnadeau4 dnadeau4 closed this Apr 21, 2017
@doutriaux1 doutriaux1 modified the milestone: 2.10 May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants