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

snapshot...

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