Skip to content

Fix scipy DeprecationWarnings.

Daniel Scheffler requested to merge maintenance/fix_scipy_warnings into main

Fix:

/builds/EnMAP/sicor/sicor/Tools/cB/classical_bayesian.py:375: DeprecationWarning: Please use `zoom` from the `scipy.ndimage` namespace, the `scipy.ndimage.interpolation` namespace is deprecated.
    from scipy.ndimage.interpolation import zoom
  /builds/EnMAP/sicor/sicor/Tools/cB/classical_bayesian.py:376: DeprecationWarning: Please use `gaussian_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.
    from scipy.ndimage.filters import gaussian_filter

Signed-off-by: Daniel Scheffler danschef@gfz-potsdam.de

Merge request reports

Loading