From 13b8ab41fa37c80d7d8012956d0af24d99a24edf Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 6 Sep 2023 10:37:00 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/cloud_opd_fcn_abi.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/deeplearning/cloud_opd_fcn_abi.py b/modules/deeplearning/cloud_opd_fcn_abi.py
index bb43831b..29686951 100644
--- a/modules/deeplearning/cloud_opd_fcn_abi.py
+++ b/modules/deeplearning/cloud_opd_fcn_abi.py
@@ -359,6 +359,7 @@ class SRCNN:
         label = label[:, y_64, x_64]
         cld_prob = cld_prob[:, y_64, x_64]
         cat_cf = get_label_data_5cat(cld_prob)
+        cat_cf = np.pad(cat_cf, pad_width=[(0, 0), (1, 1), (1, 1)])
         data_norm.append(cat_cf)
         data = np.stack(data_norm, axis=3)
         data = data.astype(np.float32)
-- 
GitLab