diff --git a/modules/util/viirs_surfrad.py b/modules/util/viirs_surfrad.py index 9735b5123f3d3d8ec1a82889734c351fcd47ce59..6a83650f2c348074c4f8d06bca7ac54a55578c83 100644 --- a/modules/util/viirs_surfrad.py +++ b/modules/util/viirs_surfrad.py @@ -65,17 +65,6 @@ def keep_tile(p_idx, tile): return None -# def process_cld_prob(grd_k): -# keep = np.invert(np.isnan(grd_k)) -# num_keep = np.sum(keep) -# keep_clr = np.where(keep, grd_k < 0.20, False) -# frac_keep = np.sum(keep_clr)/num_keep -# if not (0.30 < frac_keep < 0.70): -# return None -# grd_k = np.where(np.invert(keep), 0, grd_k) # Convert NaN to 0 -# return grd_k - - def process_cld_prob(grd_k): keep = np.invert(np.isnan(grd_k)) num_keep = np.sum(keep)