diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 49e908e41c8d00f41cbdeac8a753f6515460955b..c25587cb89fbe7963d18ba15ba6b17bd4892c6e4 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1260,7 +1260,7 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, cld_opd 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 < cloudy_frac: # At least this fraction cloudy continue keep = np.where(keep, (cld_top_hgt[i,] + closeness_top) > icing_alt[i], False) @@ -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 < cloudy_frac: # At least this fraction cloudy continue keep = np.where(keep, np.logical_and(cld_top_hgt[i,] > icing_alt[i,], @@ -1385,7 +1385,7 @@ def apply_qc_icing_pireps_exp2(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 < cloudy_frac: # At least this fraction cloudy continue keep = np.where(keep, np.logical_and(cld_top_hgt[i,] > icing_alt[i,], @@ -1514,7 +1514,7 @@ def apply_qc_no_icing_pireps_exp2(icing_alt, cld_top_hgt, cld_geo_dz, cld_phase, 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 < cloudy_frac: # At least this fraction cloudy continue keep = np.where(keep, np.logical_and(cld_top_hgt[i,] > icing_alt[i,],