Skip to content
Snippets Groups Projects
Commit 51faedcc authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 45972970
Branches
No related tags found
No related merge requests found
...@@ -685,16 +685,16 @@ def run_evaluate_static(in_file, out_file, ckpt_dir): ...@@ -685,16 +685,16 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
refl = get_grid_values_all(h5f, 'super/refl_0_65um') refl = get_grid_values_all(h5f, 'super/refl_0_65um')
ylen, xlen = refl.shape ylen, xlen = refl.shape
refl = refl[0:int(ylen/2), :] refl = refl[int(ylen/2):ylen, :]
LEN_Y, LEN_X = refl.shape LEN_Y, LEN_X = refl.shape
bt = get_grid_values_all(h5f, 'orig/temp_11_0um') bt = get_grid_values_all(h5f, 'orig/temp_11_0um')
ylen, xlen = bt.shape ylen, xlen = bt.shape
bt = bt[0:int(ylen/2), :] bt = bt[int(ylen/2):ylen, :]
cld_opd = get_grid_values_all(h5f, 'super/' + label_param) cld_opd = get_grid_values_all(h5f, 'super/' + label_param)
ylen, xlen = cld_opd.shape ylen, xlen = cld_opd.shape
cld_opd = cld_opd[0:int(ylen/2), :] cld_opd = cld_opd[int(ylen/2):ylen, :]
refl = np.where(np.isnan(refl), 0, refl) refl = np.where(np.isnan(refl), 0, refl)
refl = normalize(refl, 'refl_0_65um_nom', mean_std_dct) refl = normalize(refl, 'refl_0_65um_nom', mean_std_dct)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment