nonzero_pixels_per & valid_pixels_per are mixed up
seems to be mixed up:
if nonzero_pixels_per >= aoi_settings["SCL_mask_valid_pixels_min_percentage"] \
and valid_pixels_per >= aoi_settings["aoi_min_coverage"]:
seems to be mixed up:
if nonzero_pixels_per >= aoi_settings["SCL_mask_valid_pixels_min_percentage"] \
and valid_pixels_per >= aoi_settings["aoi_min_coverage"]: