Skip to content
Snippets Groups Projects
Commit 168c25b5 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 51faedcc
No related branches found
No related tags found
No related merge requests found
......@@ -695,6 +695,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
cld_opd = get_grid_values_all(h5f, 'super/' + label_param)
ylen, xlen = cld_opd.shape
cld_opd = cld_opd[int(ylen/2):ylen, :]
cld_opd_hres = cld_opd.copy()
refl = np.where(np.isnan(refl), 0, refl)
refl = normalize(refl, 'refl_0_65um_nom', mean_std_dct)
......@@ -748,7 +749,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
cld_opd_out = denormalize(cld_opd_out, label_param, mean_std_dct)
if out_file is not None:
np.save(out_file, (cld_opd_sres_out, refl_out, cld_opd_out))
np.save(out_file, (cld_opd_sres_out, refl_out, cld_opd_out, cld_opd_hres))
else:
return cld_opd_sres_out, bt, refl
......
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