From 51b72fe62c63001baf4024e3dad700d4099fa88d Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Tue, 10 Jan 2023 13:14:00 -0600
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py
index 64493a07..afde855b 100644
--- a/modules/deeplearning/srcnn_l1b_l2.py
+++ b/modules/deeplearning/srcnn_l1b_l2.py
@@ -260,7 +260,9 @@ class SRCNN:
             tmp = tmp.copy()
             tmp = np.where(np.isnan(tmp), 0, tmp)
             # tmp = smooth_2d(tmp, sigma=1.0)
+            # Full res:
             tmp = tmp[:, slc_y, slc_x]
+            # Half res upsampled to full res:
             # tmp = tmp[:, slc_y_2, slc_x_2]
             # tmp = resample_2d_linear(x_2, y_2, tmp, t, s)
             # tmp = tmp[:, y_k, x_k]
-- 
GitLab