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

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

diff --git a/modules/deeplearning/cloud_opd_srcnn_viirs.py b/modules/deeplearning/cloud_opd_srcnn_viirs.py
index 913b195f..ac7a93c5 100644
--- a/modules/deeplearning/cloud_opd_srcnn_viirs.py
+++ b/modules/deeplearning/cloud_opd_srcnn_viirs.py
@@ -687,7 +687,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     refl = normalize(refl, 'refl_0_65um_nom', mean_std_dct)
     LEN_Y, LEN_X = refl.shape
 
-    nn = SRCNN(LEN_Y=LEN_Y, LEN_X=LEN_X)
+    nn = SRCNN(LEN_Y=LEN_Y-16, LEN_X=LEN_X-16)
 
     refl = refl[nn.slc_y, nn.slc_x]
 
-- 
GitLab