No error for the code, but the result is not as expected.
I am aware of the slider for cloud coverage of a single date requested, but it seams that in more complex scripts, which require timespan the scenes are loaded all, no matter this percentage, that I can only specify for a single imagery).
When I change the cloud threshold the result changes, which is good.
However, when I played with the numbers to verify that the threshold corresponds to the CLOUDY_PIXEL_PERCENTAGE from the metadata, I discovered they do not match. I tried with several images and it is the same - the numbers are not the same and I couldn’t figure out why.
So how can I be sure that my collection constitutes only scenes with cloud coverage less than particular percentage? I was thinking somehow to adjust this number (but it is not constant unfortunately from image to image)…
So, is there anyone to help me properly set the cloud threshold, as to corresponds to the cloud coverage, which is listed in the metadata and appears same as the percentage in the tile info?