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

snapshot...

parent 0db423b2
Branches
No related tags found
No related merge requests found
......@@ -688,16 +688,16 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
refl = get_grid_values_all(h5f, 'super/refl_0_65um')
ylen, xlen = refl.shape
refl = refl[int(ylen/2):ylen, :]
refl = refl[int(ylen/2):ylen, (int(xlen/2)-800):(int(xlen/2)+800)]
LEN_Y, LEN_X = refl.shape
bt = get_grid_values_all(h5f, 'orig/temp_11_0um')
ylen, xlen = bt.shape
bt = bt[int(ylen/2):ylen, :]
bt = bt[int(ylen/2):ylen, (int(xlen/2)-400):(int(xlen/2)+400)]
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 = cld_opd[int(ylen/2):ylen, (int(xlen/2)-800):(int(xlen/2)+800)]
cld_opd_hres = cld_opd.copy()
refl = np.where(np.isnan(refl), 0, refl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment