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

snapshot...

parent a391b7b9
No related branches found
No related tags found
No related merge requests found
......@@ -560,8 +560,9 @@ def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain
# -------------------------------------------------------------------------------------------
def write_icing_file(outfile, clvrx_str_time, preds, x, y, lons, lats):
h5f_out = h5py.File(outfile+'_'+clvrx_str_time, 'w')
def write_icing_file(clvrx_str_time, preds, x, y, lons, lats):
outfile_name = homedir + 'icing_prediction_'+clvrx_str_time+'.h5'
h5f_out = h5py.File(outfile_name+'_'+clvrx_str_time, 'w')
icing_pred_ds = h5f_out.create_dataset('icing_prediction', data=preds, dtype='i2')
icing_pred_ds.attrs.create('coordinates', data='y x')
......
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