diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 2482bdf709d29f786fcec1cc87a16c2f74a196ec..0742e6474cccb536701f3c2e339bad002b42c953 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1335,7 +1335,7 @@ def apply_qc_icing_pireps_exp1(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cl num_keep = np.sum(keep) if num_keep == 0: continue - if num_keep / nx_x_ny < cloud_frac: # At least this fraction cloudy + if num_keep / nx_x_ny > cloud_frac: # At least this fraction cloudy continue keep = np.where(keep, (cld_top_hgt[i,] + closeness_top) > icing_alt[i], False)