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

snapshot...

parent 9b7c3f2f
Branches
No related tags found
No related merge requests found
...@@ -879,6 +879,9 @@ def run_evaluate_static_valid(in_file, out_file, ckpt_dir): ...@@ -879,6 +879,9 @@ def run_evaluate_static_valid(in_file, out_file, ckpt_dir):
cp = get_grid_values_all(h5f, 'orig/'+label_param) cp = get_grid_values_all(h5f, 'orig/'+label_param)
lons = get_grid_values_all(h5f, 'orig/longitude') lons = get_grid_values_all(h5f, 'orig/longitude')
lats = get_grid_values_all(h5f, 'orig/latitude') lats = get_grid_values_all(h5f, 'orig/latitude')
cp_sres = get_grid_values_all(h5f, 'super/'+label_param)
mean_cp_sres = get_grid_cell_mean(np.expand_dims(cp_sres, axis=0))[0]
h5f.close() h5f.close()
...@@ -898,7 +901,7 @@ def run_evaluate_static_valid(in_file, out_file, ckpt_dir): ...@@ -898,7 +901,7 @@ def run_evaluate_static_valid(in_file, out_file, ckpt_dir):
}) })
if out_file is not None: if out_file is not None:
np.save(out_file, (cld_frac_out, bt, refl, cp, lons, lats)) np.save(out_file, (cld_frac_out, bt, refl, cp, lons, lats, mean_cp_sres))
else: else:
return [cld_frac_out, bt, refl, cp, lons, lats] return [cld_frac_out, bt, refl, cp, lons, lats]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment