diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index ff23e752ae754dfb2bd786442db6ecd6fb797a43..88af4d7238910529f418ef1937ad0c930665000b 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -1033,13 +1033,14 @@ def run_qc(filename, filename_l1b, day_night='ANY', pass_thresh_frac=0.20, cloud keep_idxs = [] for i in range(len(mask)): - # frac = np.sum(mask[i]) / nx_x_ny - frac = np.sum(mask[i]) / num_tested[i] - if icing: - if frac > pass_thresh_frac: - keep_idxs.append(idxs[i]) - elif frac > pass_thresh_frac: - keep_idxs.append(idxs[i]) + keep_idxs.append(idxs[i]) + # # frac = np.sum(mask[i]) / nx_x_ny + # frac = np.sum(mask[i]) / num_tested[i] + # if icing: + # if frac > pass_thresh_frac: + # keep_idxs.append(idxs[i]) + # elif frac > pass_thresh_frac: + # keep_idxs.append(idxs[i]) print('day_night, icing, all, valid, pass: ', day_night, icing, len(icing_alt), len(mask), len(keep_idxs)) print('-----------------------')