From 30e948a8f08210301b35db1aa3f3ae16d6714758 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 26 Jun 2023 13:58:34 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/cloud_opd_srcnn_abi.py b/modules/deeplearning/cloud_opd_srcnn_abi.py
index fb5c726a..9001721b 100644
--- a/modules/deeplearning/cloud_opd_srcnn_abi.py
+++ b/modules/deeplearning/cloud_opd_srcnn_abi.py
@@ -293,7 +293,7 @@ class SRCNN:
                 tmp = np.where(np.isnan(tmp), 0, tmp)
             data_norm.append(tmp)
         # ---------------------------------------------------
-        tmp = input_label[:, label_idx_i, ::2, ::2]
+        tmp = input_label[:, label_idx_i, :, :]
         tmp = tmp.copy()
         tmp = np.where(np.isnan(tmp), 0.0, tmp)
         tmp = tmp[:, self.slc_y_2, self.slc_x_2]
@@ -307,7 +307,7 @@ class SRCNN:
 
         # -----------------------------------------------------
         # -----------------------------------------------------
-        label = input_label[:, label_idx_i, ::2, ::2]
+        label = input_label[:, label_idx_i, :, :]
         label = label.copy()
         label = normalize(label, label_param, mean_std_dct)
         # label = scale(label, label_param, mean_std_dct)
-- 
GitLab