eo-datasets icon indicating copy to clipboard operation
eo-datasets copied to clipboard

Doing singleband thumbnails will sometimes generate a warning

Open alexgleith opened this issue 4 years ago • 0 comments

/env/lib/python3.6/site-packages/eodatasets3/images.py:724: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison

The code triggering it is out_data[index][data == value] = rgb[index], which needs to be fixed.

alexgleith avatar Oct 27 '20 05:10 alexgleith