From 2461c21200a9b6881000ce61359ec4fc48f0d229 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 28 Apr 2023 11:58:42 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/cloud_opd_srcnn_viirs.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/deeplearning/cloud_opd_srcnn_viirs.py b/modules/deeplearning/cloud_opd_srcnn_viirs.py
index e5c5551e..5460c3bf 100644
--- a/modules/deeplearning/cloud_opd_srcnn_viirs.py
+++ b/modules/deeplearning/cloud_opd_srcnn_viirs.py
@@ -685,6 +685,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     refl = get_grid_values_all(h5f, 'super/refl_0_65um')
     refl = np.where(np.isnan(refl), 0, refl)
     refl = normalize(refl, 'refl_0_65um_nom', mean_std_dct)
+    relf = np.expand_dims(refl, axis=0)
     LEN_Y, LEN_X = refl.shape
 
     nn = SRCNN(LEN_Y=LEN_Y-16, LEN_X=LEN_X-16)
-- 
GitLab