-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Don't know if this is something for @doutriaux1 or @dnadeau4
I have just triggered a new warning that I did not get in 2.10. I guess this is due to the new numpy version in 2.12 (numpy 1.13.1 instead of 1.12.1)
(cdatm16) bash-4.1$ python
Python 2.7.13 | packaged by conda-forge | (default, May 2 2017, 12:48:11)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cdms2, vcs, genutil
>>> f = cdms2.open(vcs.sample_data + '/clt.nc')
>>> clt = f('clt', time=slice(0,1), squeeze=1)
>>> f.close()
>>> genutil.minmax(clt)
/home/share/unix_files/cdat/miniconda2/envs/cdatm16/lib/python2.7/site-packages/numpy/ma/core.py:6385: MaskedArrayFutureWarning: In the future the default for ma.maximum.reduce will be axis=0, not the current None, to match np.maximum.reduce. Explicitly pass 0 or None to silence this warning.
return self.reduce(a)
/home/share/unix_files/cdat/miniconda2/envs/cdatm16/lib/python2.7/site-packages/numpy/ma/core.py:6385: MaskedArrayFutureWarning: In the future the default for ma.minimum.reduce will be axis=0, not the current None, to match np.minimum.reduce. Explicitly pass 0 or None to silence this warning.
return self.reduce(a)
(0.0, 100.0)
>>>