From ccfb86cfc8cec1395935786bd295fd9b1d59e517 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 5 Apr 2021 10:16:38 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py
index 6dca814e..0f8b4506 100644
--- a/modules/icing/pirep_goes.py
+++ b/modules/icing/pirep_goes.py
@@ -797,7 +797,7 @@ def apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask,
     return mask, idxs
 
 
-def fov_extract():
+def fov_extract(outfile='/Users/tomrink/fovs_out.h5'):
     ice_times = []
     icing_int_s = []
 
@@ -907,7 +907,7 @@ def fov_extract():
     icing_intensity = icing_intensity[ds_indexes]
 
     h5f_expl = h5py.File(a_clvr_file, 'r')
-    h5f_out = h5py.File('/Users/tomrink/fovs_out.h5', 'w')
+    h5f_out = h5py.File(outfile, 'w')
 
     for idx, ds_name in enumerate(train_params_day):
         dt = ds_types[ds_list.index(ds_name)]
-- 
GitLab