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

fix bug...

parent f0b8f66f
Branches
No related tags found
No related merge requests found
...@@ -755,7 +755,6 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, ...@@ -755,7 +755,6 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y,
dim_1 = rootgrp.createDimension(dim_1_name, size=y.shape[0]) dim_1 = rootgrp.createDimension(dim_1_name, size=y.shape[0])
prob_s = [] prob_s = []
pred_s = []
flt_lvls = list(preds_dct.keys()) flt_lvls = list(preds_dct.keys())
for flvl in flt_lvls: for flvl in flt_lvls:
...@@ -776,7 +775,7 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, ...@@ -776,7 +775,7 @@ def write_icing_file_nc4(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y,
for flvl in flt_lvls: for flvl in flt_lvls:
probs = probs_dct[flvl] probs = probs_dct[flvl]
# prob_s.append(probs) prob_s.append(probs)
# icing_prob_ds = h5f_out.create_dataset('icing_probability_level_'+flt_level_ranges_str[flvl], data=probs, dtype='f4') # icing_prob_ds = h5f_out.create_dataset('icing_probability_level_'+flt_level_ranges_str[flvl], data=probs, dtype='f4')
# icing_prob_ds.attrs.create('coordinates', data='y x') # icing_prob_ds.attrs.create('coordinates', data='y x')
# icing_prob_ds.attrs.create('grid_mapping', data='Projection') # icing_prob_ds.attrs.create('grid_mapping', data='Projection')
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment