From 92f520a84699b81a5dbd9ff6c904e4d23add37b7 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 15 Jun 2023 11:55:33 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/cloud_opd_srcnn_abi.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/deeplearning/cloud_opd_srcnn_abi.py b/modules/deeplearning/cloud_opd_srcnn_abi.py index c2723ff7..6d3cba99 100644 --- a/modules/deeplearning/cloud_opd_srcnn_abi.py +++ b/modules/deeplearning/cloud_opd_srcnn_abi.py @@ -289,14 +289,6 @@ class SRCNN: # else: # tmp = np.where(np.isnan(tmp), 0, tmp) # data_norm.append(tmp) - - # for param in data_params_full: - # idx = params_i.index(param) - # tmp = input_label[:, idx, :, :] - # tmp = np.where(np.isnan(tmp), 0, tmp) - # - # tmp = normalize(tmp, param, mean_std_dct) - # data_norm.append(tmp[:, self.slc_y, self.slc_x]) # --------------------------------------------------- tmp = input_label[:, label_idx_i, ::2, ::2] tmp = tmp.copy() @@ -308,6 +300,7 @@ class SRCNN: # --------- data = np.stack(data_norm, axis=3) data = data.astype(np.float32) + print(data.shape) # ----------------------------------------------------- # ----------------------------------------------------- -- GitLab