conda-forge/cdms2-feedstock

A list of current numpy deprecation warnings (for reference)

Opened this issue · 0 comments

Here is a list of numpy deprecation warnings for reference. I don't think these will be addressed since E3SM developers are removing CDAT dependencies from all E3SM analysis tools.

   /usr/share/miniconda3/envs/e3sm_diags_ci/lib/python3.10/site-packages/cdms2/tvariable.py:331: DeprecationWarning: Non-scalar arrays for the fill value are deprecated. Use arrays with scalar values instead. The filled function still supports any array as `fill_value`.

  /usr/share/miniconda3/envs/e3sm_diags_ci/lib/python3.10/site-packages/numpy/ma/core.py:3780: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)

   /usr/share/miniconda3/envs/e3sm_diags_ci/lib/python3.10/site-packages/cdms2/grid.py:620: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    gridtype, nlats, isoffset = self.classify()