Skip to content
Snippets Groups Projects
Commit 9908d5cd authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 7bc5566e
No related branches found
No related tags found
No related merge requests found
......@@ -694,20 +694,23 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
h5f = h5py.File(in_file, 'r')
refl = get_grid_values_all(h5f, 'refl_0_65um_nom')
ylen, xlen = refl.shape
refl = refl[::2, ::2]
LEN_Y, LEN_X = refl.shape
print(LEN_Y, LEN_X)
bt = get_grid_values_all(h5f, 'temp_11_0um_nom')
ylen, xlen = bt.shape
bt = bt[::2, ::2]
cld_opd = get_grid_values_all(h5f, 'cld_opd_dcomp_1')
ylen, xlen = cld_opd.shape
cld_opd_hres = cld_opd.copy()
cld_opd = cld_opd[::2, ::2]
# cld_opd_hres = cld_opd.copy()
refl_sub_lo = get_grid_values_all(h5f, 'refl_0_65um_nom_min_sub')
refl_sub_lo = refl_sub_lo[::2, ::2]
refl_sub_hi = get_grid_values_all(h5f, 'refl_0_65um_nom_max_sub')
refl_sub_hi = refl_sub_hi[::2, ::2]
refl_sub_std = get_grid_values_all(h5f, 'refl_0_65um_nom_stddev_sub')
refl_sub_std = refl_sub_std[::2, ::2]
nn = SRCNN()
......
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