def extract(self, lon, l, b, r):
        rgb = get_field(lon).extract_stamp(l, b, r, do_scale=False)
        if rgb is None:
            rgb = np.zeros((40, 40, 3), dtype=np.uint8)
        elif 0.1 > (rgb[:, :, 1] == 0).mean():
            rgb = np.zeros((40, 40, 3), dtype=np.uint8)

        return self._extract_rgb(rgb)
dataset/ETHPy150Open ChrisBeaumont/brut/bubbly/extractors.py/RawStatsExtractor.extract/swapped operands of `>`