1

I have one raster which has three different bands.

The two first bands look like this (in qgis):

enter image description here

and the third band looks like this ( missing values in some places:

enter image description here

The three bands sit on top of each other. The problem is that whenever I try todisplay those layers with rasterio it always shows the "extent" of the third layer:


img=rasterio.open("21072019.tif")
show(img,1)

#display other bands:
show(img,2)

show(img,3)

enter image description here

with all those bands the image looks exactly the same, th eonly thing that changes is the axis.

My question: How can I display the different bands? why is this hapenning? do the difffeernt bands has different shape?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.