From fe7f91972a6280dd46995d2172e3e664ef9d8e95 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 7 Jun 2023 09:27:33 -0500
Subject: [PATCH] snapshot...

---
 modules/util/infer_cloud_fraction.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/util/infer_cloud_fraction.py b/modules/util/infer_cloud_fraction.py
index 5b299668..be66c605 100644
--- a/modules/util/infer_cloud_fraction.py
+++ b/modules/util/infer_cloud_fraction.py
@@ -8,7 +8,7 @@ tf_model_name = model_path+'tf_model_cld_frac_abi_v1' + os.sep
 
 def infer_cloud_fraction(clvrx_dir, output_dir, model_path=model_path+tf_model_name, full_disk=True):
     clvrx_ds = CLAVRx(clvrx_dir)
-    for fname in clvrx_ds:
+    for fname, t_start, t_stop in clvrx_ds:
         dto = clvrx_ds.get_datetime(fname)
         clvrx_str_time = dto.strftime('%Y-%m-%d_%H:%M')
         out_file = output_dir + 'cloud_fraction_' + clvrx_str_time
-- 
GitLab