Skip to content
Snippets Groups Projects
Commit 7cf1dc32 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent c287379f
Branches
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment