From 83ffa1512fd42fca715d0074dc95a1d8b6e2ebab Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 30 Sep 2021 11:47:41 -0500
Subject: [PATCH] refactor

---
 modules/icing/pirep_goes.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index a7548fe4..19f53eda 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -1817,8 +1817,10 @@ def tiles_info(filename):
     print('Icing 6:  ', np.sum(iint == 6))
 
 
-def run_make_images(ckpt_dir_s_path='/Users/tomrink/tf_model/', prob_thresh=0.5, domain='CONUS', extent=[-105, -70, 15, 50]):
-    ice_dict, no_ice_dict, neg_ice_dict = setup('/Users/tomrink/data/pirep/pireps_202109140000_202109142359.csv')
+def run_make_images(ckpt_dir_s_path='/Users/tomrink/tf_model/', prob_thresh=0.5, domain='CONUS',
+                    extent=[-105, -70, 15, 50],
+                    pirep_file='/Users/tomrink/data/pirep/pireps_202109200000_202109232359.csv'):
+    ice_dict, no_ice_dict, neg_ice_dict = setup(pirep_file)
 
     clvrx_ds = CLAVRx('/Users/tomrink/data/clavrx/RadC/265/')
     clvrx_files = clvrx_ds.flist
-- 
GitLab