Skip to content
Snippets Groups Projects
Commit 5655f5a6 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 272a0fc6
No related merge requests found
......@@ -810,8 +810,12 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
cld_frac = probs.argmax(axis=3)
cld_frac = cld_frac.astype(np.int8)
cld_frac_out = np.zeros((y_len, x_len), dtype=np.int8)
lons_out = np.zeros((y_len, x_len), dtype=np.float32)
lats_out = np.zeros((y_len, x_len), dtype=np.float32)
border = int((KERNEL_SIZE - 1)/2)
cld_frac_out[border:y_len - border, border:x_len - border] = cld_frac[0, :, :]
lons_out[border:y_len - border, border:x_len - border] = lons[:, :]
lats_out[border:y_len - border, border:x_len - border] = lats[:, :]
bt = denormalize(bt, 'temp_11_0um_nom', mean_std_dct)
refl_avg = denormalize(refl_avg, 'refl_0_65um_nom', mean_std_dct)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment