Skip to main content

Hello,
After the new update I got this error, even though I don’t use query in my code.
Any help to avoid this error?

 

 

Hi,

Please can you share the rest of the code that you have run in your notebook? This will help us replicate the error and fix the issue for you 🙂 Thanks!


Hi,

I guess the following cell might be causing the error reported by @arwa.atheel:

cloud_coverage_threshold = 0.05 

class ValidDataCoveragePredicate:

def __init__(self, threshold):
self.threshold = threshold

def __call__(self, array):
return calculate_coverage(array) < self.threshold

remove_cloudy_scenes = SimpleFilterTask((FeatureType.MASK, 'VALID_DATA'),
ValidDataCoveragePredicate(cloud_coverage_threshold))

We are trying not to share the whole notebook since this is still a work in progress.
Thanks for your support William.

 


Hi both, this issue should be fixed. Please update to the latest versions of both sentinelhub-py and eo-learn


If you still return the error then please let us know 🙂


thank you 


Reply