From 5cb7043cfb0ea688231fdf0f918d075159048f5f Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 7 Jul 2023 15:27:03 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/cloud_opd_srcnn_abi_v2.py b/modules/deeplearning/cloud_opd_srcnn_abi_v2.py
index dcf44c69..a3602950 100644
--- a/modules/deeplearning/cloud_opd_srcnn_abi_v2.py
+++ b/modules/deeplearning/cloud_opd_srcnn_abi_v2.py
@@ -768,7 +768,7 @@ class SRCNN:
 
         cld_opd_sres_out = np.zeros((LEN_Y_in, LEN_X_in), dtype=np.int8)
         border = int((KERNEL_SIZE - 1) / 2)
-        cld_opd_sres_out[border:LEN_Y - border, border:LEN_X - border] = cld_opd_sres[0, :, :, 0]
+        cld_opd_sres_out[border:LEN_Y_in - border, border:LEN_X_in - border] = cld_opd_sres[0, :, :, 0]
 
         h5f.close()
 
-- 
GitLab