Error in patch visualisation

error in Visualize the selection 5*5


The first thing I notice, is that you are trying to plot a sub-section of the input AOI by selecting a group of 5*5 patches (which is part of the normal workflow). However, the ID of the central patch that you have selected is located on the edge of your AOI, therefore the function cannot fetch the tiles around the patch with that ID. This is indicated by the warning message that you have below your cell.

The quickest way to solve the issue, is simply to select an ID of a patch that you know is surrounded by at least 2 other patches on each side.

If you want to plot the patch with the selected ID and its surroundings, you will need to adjust to code.