Skip to content
Snippets Groups Projects
Commit 8b4b3e2e authored by tomrink's avatar tomrink
Browse files

snapshot...

parent ac0ddf31
Branches
No related tags found
No related merge requests found
...@@ -698,6 +698,10 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): ...@@ -698,6 +698,10 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
grd_b = normalize(grd_b, 'refl_0_65um_nom', mean_std_dct) grd_b = normalize(grd_b, 'refl_0_65um_nom', mean_std_dct)
grd_c = resample_2d_linear_one(x, y, grd_c, x_up, y_up) grd_c = resample_2d_linear_one(x, y, grd_c, x_up, y_up)
if label_param == 'cloud_fraction':
grd_c = np.where(np.isnan(grd_c), 0, grd_c)
else:
grd_c = normalize(grd_c, label_param, mean_std_dct)
data = np.stack([grd_a, grd_b, grd_c], axis=2) data = np.stack([grd_a, grd_b, grd_c], axis=2)
data = np.expand_dims(data, axis=0) data = np.expand_dims(data, axis=0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment