diff --git a/modules/deeplearning/cloud_opd_fcn_abi.py b/modules/deeplearning/cloud_opd_fcn_abi.py index e9dfe0e4f0728cd9670d17c18af55d525f923d57..a24656163bed62a83ef204ee1a59d2cecb8a4d6d 100644 --- a/modules/deeplearning/cloud_opd_fcn_abi.py +++ b/modules/deeplearning/cloud_opd_fcn_abi.py @@ -299,6 +299,7 @@ class SRCNN: # data_norm.append(tmp) tmp = input_label[:, params_i.index('cloud_probability'), :, :] + cld_prob = tmp.copy() tmp = get_grid_cell_mean(tmp) tmp = tmp[:, slc_y, slc_x] data_norm.append(tmp) @@ -326,8 +327,8 @@ class SRCNN: # ----------------------------------------------------- # ----------------------------------------------------- label = input_label[:, label_idx_i, :, :] + label = get_cldy_frac_opd(cld_prob, label) label = label[:, y_64, x_64] - label = get_cldy_frac_opd(label) label = scale(label, label_param, mean_std_dct) label = np.where(np.isnan(label), 0, label)