diff --git a/modules/deeplearning/cloud_opd_srcnn_abi.py b/modules/deeplearning/cloud_opd_srcnn_abi.py index acaec995cf679142b61357a635466d32aa163ee3..210b964af04dfad2a303ee9c77a2ac68196f8620 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)