From a65723e54e9353a82aa243c03b3d85309ece8d09 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 4 Nov 2021 12:32:52 -0500 Subject: [PATCH] snapshot... --- modules/util/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/util/util.py b/modules/util/util.py index 7565a91f..49f435ae 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -563,8 +563,8 @@ def make_for_full_domain_predict(h5f, name_list=None, satellite='GOES16', domain # ------------------------------------------------------------------------------------------- -def write_icing_file(clvrx_str_time, preds_dct, probs_dct, x, y, lons, lats): - outfile_name = homedir + 'icing_prediction_'+clvrx_str_time+'.h5' +def write_icing_file(clvrx_str_time, output_dir, preds_dct, probs_dct, x, y, lons, lats): + outfile_name = output_dir + 'icing_prediction_'+clvrx_str_time+'.h5' h5f_out = h5py.File(outfile_name, 'w') dim_0_name = 'pixel_elements' -- GitLab