From 0e5b386508acf3a916e941817e2065544b26e891 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 11 Apr 2023 11:11:03 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/cloud_fraction_fcn.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/deeplearning/cloud_fraction_fcn.py b/modules/deeplearning/cloud_fraction_fcn.py
index 511ce953..2feb826e 100644
--- a/modules/deeplearning/cloud_fraction_fcn.py
+++ b/modules/deeplearning/cloud_fraction_fcn.py
@@ -810,8 +810,6 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     cld_frac = probs.argmax(axis=3)
     cld_frac = cld_frac.astype(np.int8)
     cld_frac_out = np.zeros((y_len, x_len), dtype=np.int8)
-    lons_out = np.zeros((y_len, x_len), dtype=np.float32)
-    lats_out = np.zeros((y_len, x_len), dtype=np.float32)
     border = int((KERNEL_SIZE - 1)/2)
     cld_frac_out[border:y_len - border, border:x_len - border] = cld_frac[0, :, :]
 
@@ -821,7 +819,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     if out_file is not None:
         np.save(out_file, (cld_frac_out, bt, refl_avg, cp, lons, lats))
     else:
-        return cld_frac_out, bt, refl_avg, cp, lons, lats
+        return [cld_frac_out, bt, refl_avg, cp, lons, lats]
 
 
 def analyze_3cat(file):
-- 
GitLab