From 08c5b193f7bc3c96d9f5dfaaabdfafac1672879e Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sun, 5 Feb 2023 20:28:03 -0600
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/srcnn_cld_frac.py b/modules/deeplearning/srcnn_cld_frac.py
index 0d492afa..d1421dd0 100644
--- a/modules/deeplearning/srcnn_cld_frac.py
+++ b/modules/deeplearning/srcnn_cld_frac.py
@@ -142,8 +142,8 @@ def upsample_mean(grd):
     up = np.zeros((bsize, ylen, xlen))
 
     up[:, ::2, ::2] = grd[:, :, :]
-    up[:, 1::2, ::1] = grd[:, :, :]
-    up[:, ::2, 1::1] = grd[:, :, :]
+    up[:, 1::2, ::2] = grd[:, :, :]
+    up[:, ::2, 1::2] = grd[:, :, :]
     up[:, 1::2, 1::2] = grd[:, :, :]
 
     return up
-- 
GitLab