From ae996d3ecdb7d5b77842113333c3f567d03c4332 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 23 Dec 2022 10:09:42 -0600
Subject: [PATCH] snapshot...

---
 modules/deeplearning/srcnn_l1b_l2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py
index 6895b8b9..8fc7613e 100644
--- a/modules/deeplearning/srcnn_l1b_l2.py
+++ b/modules/deeplearning/srcnn_l1b_l2.py
@@ -756,7 +756,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     hr_grd_a = hr_grd_a[y_128, x_128]
     grd_a = grd_a[slc_y_2, slc_x_2]
     grd_a = resample_2d_linear_one(x_2, y_2, grd_a, t, s)
-    grd_a = grd_a[:, y_k, x_k]
+    grd_a = grd_a[y_k, x_k]
     grd_a = normalize(grd_a, 'temp_11_0um_nom', mean_std_dct)
     #
     # grd_b = get_grid_values_all(h5f, 'refl_0_65um_nom')
-- 
GitLab