From 834c2cb39e4cbe115ebb067ff004e771a360496d Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 24 Oct 2023 09:59:28 -0500
Subject: [PATCH] snapshot...

---
 modules/icing/pirep_goes.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 49e908e4..c25587cb 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,],
-- 
GitLab