From b571b49780e628ee70aa67af0b9d5dbe491a2e60 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 22 Mar 2023 13:55:51 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/cloud_fraction_fcn.py b/modules/deeplearning/cloud_fraction_fcn.py
index a924feea..2bccf2da 100644
--- a/modules/deeplearning/cloud_fraction_fcn.py
+++ b/modules/deeplearning/cloud_fraction_fcn.py
@@ -787,6 +787,9 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     lo = normalize(lo, 'refl_0_65um_nom', mean_std_dct)
     hi = normalize(hi, 'refl_0_65um_nom', mean_std_dct)
     avg = normalize(avg, 'refl_0_65um_nom', mean_std_dct)
+    lo = np.squeeze(lo)
+    hi = np.squeeze(hi)
+    avg = np.squeeze(avg)
 
     grd_c = get_grid_values_all(h5f, 'orig/'+label_param)
     grd_c = np.where(np.isnan(grd_c), 0, grd_c)
-- 
GitLab