The input data of s2cloudless is obtained from API. However, because of my work, I cannot use API to download data (I need to select first and have a strict standard). I have to download the Sentinel-2 data and get “.tiff” file by myself. In this way, how could I use s2cloudless?
When you say input ID and password, do you mean your login credentials? If yes, then this is the problem, since you should provide your access and secret key pair, which you can create on your SH dashboard. You can find more information in the third paragraph here. Let me know if this works for you
The input data of s2cloudless is obtained from API. However, because of my work, I cannot use API to download data (I need to select first and have a strict standard). I have to download the Sentinel-2 data and get “.tiff” file by myself. In this way, how could I use s2cloudless?
OK, so assuming you already have bands in the form of .tif files, I suggest you load the band data as numpy arrays (with rasterio) and put them in a shape which is the same as the shape of the bands variable used in the notebook you linked. Then the code should work for you from the Initialize the cloud detector and make classification section onward.
Let me know if you need any help with this part as well.