ARPA-SIMC / meteosatlib

OpenMTP/HRI/HRIT C++ access libraries, gdal drivers and other tools
GNU General Public License v2.0
8 stars 2 forks source link

module 'scipy.misc' has no attribute 'imresize' #23

Closed brancomat closed 4 years ago

brancomat commented 4 years ago

(in "examples/products" script)

as stated in https://docs.scipy.org/doc/scipy-1.2.1/reference/generated/scipy.misc.imresize.html

imresize is deprecated! imresize is deprecated in SciPy 1.0.0, and will be removed in 1.3.0. Use Pillow instead: numpy.array(Image.fromarray(arr).resize()).

spanezz commented 4 years ago

Note: now products requires the skimage python package

brancomat commented 4 years ago

python3-scikit-image is currently unavailable for CentOs8. Since we're already using python3-pillow can we switch to that?