From c6793b33096e1c5cce0cf0bfd4db2f1311c8ffb3 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 31 Jul 2023 11:59:23 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/cloud_opd_srcnn_abi.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/deeplearning/cloud_opd_srcnn_abi.py b/modules/deeplearning/cloud_opd_srcnn_abi.py
index 0dcf4be6..962aaabf 100644
--- a/modules/deeplearning/cloud_opd_srcnn_abi.py
+++ b/modules/deeplearning/cloud_opd_srcnn_abi.py
@@ -816,6 +816,7 @@ class SRCNN:
         LEN_Y //= 2
         LEN_X //= 2
         print('Half FD: ', LEN_Y, LEN_X)
+        refl = refl[::2, ::2]
 
         bt = get_grid_values_all(h5f, group_name_m+'temp_ch38')
         cld_opd = get_grid_values_all(h5f, group_name_m+target_param)
@@ -875,7 +876,8 @@ class SRCNN:
         bt = np.expand_dims(bt, axis=0)
         # bt_us = upsample_static(bt, x_2, y_2, t, s, None, None)
         bt_us = self.upsample(bt)
-        if DO_SMOOTH:
+        # if DO_SMOOTH:
+        if False:
             bt_us = smooth_2d(bt_us)
         bt_us = normalize(bt_us, 'temp_11_0um_nom', mean_std_dct)
 
-- 
GitLab