Hello!
I following this tutorial https://sentinelhub-py.readthedocs.io/en/latest/examples/ogc_request.html#Web-Map-Service-(WMS)-and-Web-Coverage-Service-(WCS) but when I get to step 9 (wms_true_color_img = wms_true_color_request.get_data()) the get_data function gets an error within “dowload.py”,
"
~/.virtualenvs/sentinel/lib/python3.7/site-packages/sentinelhub/download.py in decode_image(data, image_type)
447 else:
448 image = np.asarray(Image.open(bytes_data))
–> 449 image.setflags(write=1) ###Flag Changed
450
451 if image_type is MimeType.JP2:
ValueError: cannot set WRITEABLE flag to True of this array
"
I manage a workarroung setting in line 449 write=0. But I guess there must be something else.
Any help?
I am running Mac OS 10.13.6
Python 3.7.0
sentinelhub 2.4.7