Skip to content
Snippets Groups Projects
Commit 5a66d643 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent accf715f
Branches
No related tags found
No related merge requests found
...@@ -676,11 +676,14 @@ def run_restore_static(directory, ckpt_dir): ...@@ -676,11 +676,14 @@ def run_restore_static(directory, ckpt_dir):
def run_evaluate_static(in_file, out_file, ckpt_dir): def run_evaluate_static(in_file, out_file, ckpt_dir):
h5f = h5py.File(in_file, 'r') h5f = h5py.File(in_file, 'r')
grd_a = get_grid_values_all(h5f, 'temp_11_0um_nom') grd_a = get_grid_values_all(h5f, 'temp_11_0um_nom')
grd_a = grd_a[2432:4032, 2432:4032]
grd_a = grd_a[::2, ::2] grd_a = grd_a[::2, ::2]
grd_b = get_grid_values_all(h5f, 'refl_0_65um_nom') grd_b = get_grid_values_all(h5f, 'refl_0_65um_nom')
grd_b = grd_b[2432:4032, 2432:4032]
grd_c = get_grid_values_all(h5f, 'cloud_fraction') grd_c = get_grid_values_all(h5f, 'cloud_fraction')
grd_c = grd_c[2432:4032, 2432:4032]
grd_c = grd_c[::2, ::2] grd_c = grd_c[::2, ::2]
leny, lenx = grd_a.shape leny, lenx = grd_a.shape
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment