I use the following code and example provided in Sentinel-Hub to calculate the area of lakes:
For me this code worked for one region but the other 7 got this error:
ValueError: operands could not be broadcast together with shapes (0,1) (818,1003,1)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.