From 486b6104496aaabf706589059f138bd84a51d0fb Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 30 Sep 2021 12:32:25 -0500
Subject: [PATCH] refactor

---
 modules/util/plot.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/util/plot.py b/modules/util/plot.py
index bed2cad9..059f108b 100644
--- a/modules/util/plot.py
+++ b/modules/util/plot.py
@@ -249,6 +249,7 @@ def make_icing_image(clvrx_file, ice_lons, ice_lats, clvrx_str_time, ice_lons_vl
     plt.title(title, loc='left', fontweight='bold', fontsize=24)
     ImageDirAndName = os.path.join('/Users/tomrink', imagename+'_'+clvrx_str_time)
     fig.savefig(ImageDirAndName)
+    h5f.close()
 
 
 # values, edges in Epoch time
-- 
GitLab