From 95224e33fbc37d83a5010145d47fa7d04b82e9f3 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 6 Jul 2023 13:34:05 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/cloud_opd_srcnn_abi.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/deeplearning/cloud_opd_srcnn_abi.py b/modules/deeplearning/cloud_opd_srcnn_abi.py index acaec995..210b964a 100644 --- a/modules/deeplearning/cloud_opd_srcnn_abi.py +++ b/modules/deeplearning/cloud_opd_srcnn_abi.py @@ -755,14 +755,6 @@ class SRCNN: self.x_k = slice(1, LEN_X + 3) self.y_k = slice(1, LEN_Y + 3) - # refl = np.where(np.isnan(refl), 0, refl) - # refl = refl[slc_y, slc_x] - # refl = np.expand_dims(refl, axis=0) - # refl_us = upsample_static(refl, x_2, y_2, t, s, None, None) - # print(refl_us.shape) - # refl_us = normalize(refl_us, 'refl_0_65um_nom', mean_std_dct) - # print('REFL done') - t0 = time.time() bt = np.where(np.isnan(bt), 0, bt) bt = bt[self.slc_y_m, self.slc_x_m] @@ -774,8 +766,7 @@ class SRCNN: refl = np.where(np.isnan(refl), 0, refl) refl = refl[self.slc_y_m, self.slc_x_m] - bt = np.expand_dims(refl, axis=0) - # bt_us = upsample_static(bt, x_2, y_2, t, s, None, None) + refl = np.expand_dims(refl, axis=0) refl_us = self.upsample(refl) refl_us = smooth_2d(refl_us) refl_us = normalize(refl_us, 'refl_0_65um_nom', mean_std_dct) -- GitLab