From 1019bab72327aede25c46a8356fdbcd85a7cffe1 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 21 Apr 2023 10:06:12 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/cloud_fraction_fcn_viirs.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/deeplearning/cloud_fraction_fcn_viirs.py b/modules/deeplearning/cloud_fraction_fcn_viirs.py
index 3417af38..bfab3245 100644
--- a/modules/deeplearning/cloud_fraction_fcn_viirs.py
+++ b/modules/deeplearning/cloud_fraction_fcn_viirs.py
@@ -175,7 +175,6 @@ def get_label_data(grd_k):
 
 def get_label_data_5cat(grd_k):
     grd_k = np.where(np.isnan(grd_k), 0, grd_k)
-    # grd_u = np.where(np.logical_and(grd_k > 0.45, grd_k < 0.55), 1, 0)
     grd_k = np.where(grd_k < 0.5, 0, 1)
 
     a = grd_k[:, 0::2, 0::2]
@@ -196,14 +195,6 @@ def get_label_data_5cat(grd_k):
     s[cat_3] = 3
     s[cat_4] = 4
 
-    # a = grd_u[:, 0::2, 0::2]
-    # b = grd_u[:, 1::2, 0::2]
-    # c = grd_u[:, 0::2, 1::2]
-    # d = grd_u[:, 1::2, 1::2]
-    # s_u = a + b + c + d
-    # cat_u = (s_u == 4)
-    # s[cat_u] = 5
-
     return s
 
 
-- 
GitLab