diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index a069f12c589992e675884975669359e69b972fdb..6bfa7fa1bf056ecf665cdc282d49678602483241 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1439,7 +1439,7 @@ def apply_qc_icing_pireps_new(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cld continue cth_mean = np.nanmean(cld_top_hgt[i,]) - if not (cth_mean > icing_alt[i,] > cth_mean - 1000.0): + if not (closeness_top+cth_mean > icing_alt[i,] > cth_mean - 1000.0): continue keep = np.where(keep, np.logical_and(cld_top_hgt[i,] > icing_alt[i,],