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

snapshot...

parent 68567e4f
No related branches found
No related tags found
No related merge requests found
......@@ -768,6 +768,8 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
h5f = h5py.File(in_file, 'r')
bt = get_grid_values_all(h5f, 'orig/temp_11_0um')
lons = get_grid_values_all(h5f, 'longitude')
lats = get_grid_values_all(h5f, 'latitude')
bt = np.where(np.isnan(bt), 0, bt)
bt = normalize(bt, 'temp_11_0um_nom', mean_std_dct)
......@@ -797,7 +799,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
if out_file is not None:
np.save(out_file, (cld_frac[0, :, :], denormalize(bt, 'temp_11_0um_nom', mean_std_dct), denormalize(refl_avg, 'refl_0_65um_nom', mean_std_dct), cp))
else:
return cld_frac[0, :, :], bt, refl_avg, cp
return cld_frac[0, :, :], denormalize(bt, 'temp_11_0um_nom', mean_std_dct), denormalize(refl_avg, 'refl_0_65um_nom', mean_std_dct), cp
def analyze2(nda_m, nda_i):
......
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