From e9eaa2940145fff0db5a780996c06cee5c192c14 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 25 Apr 2023 14:06:53 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/cloud_fraction_fcn_viirs.py b/modules/deeplearning/cloud_fraction_fcn_viirs.py
index 1c05f540..217f6e46 100644
--- a/modules/deeplearning/cloud_fraction_fcn_viirs.py
+++ b/modules/deeplearning/cloud_fraction_fcn_viirs.py
@@ -70,14 +70,13 @@ print('data_params_full: ', data_params_full)
 print('label_param: ', label_param)
 
 KERNEL_SIZE = 3  # target size: (128, 128)
-N_X = N_Y = 1
 X_LEN = Y_LEN = 128
 
 if KERNEL_SIZE == 3:
-    slc_x = slice(1, int((N_X*X_LEN)/2) + 3)
-    slc_y = slice(1, int((N_Y*Y_LEN)/2) + 3)
-    x_128 = slice(4, N_X*X_LEN + 4)
-    y_128 = slice(4, N_Y*Y_LEN + 4)
+    slc_x = slice(1, int(X_LEN/2) + 3)
+    slc_y = slice(1, int(Y_LEN/2) + 3)
+    x_128 = slice(4, X_LEN + 4)
+    y_128 = slice(4, Y_LEN + 4)
 # elif KERNEL_SIZE == 5: These no longer apply here
 #     slc_x = slice(3, 135)
 #     slc_y = slice(3, 135)
-- 
GitLab