From 3db006c70caad73dd3a1e41e97bf5523a638d258 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 8 Jun 2023 11:17:51 -0500
Subject: [PATCH] snapshot...

---
 modules/util/infer_cloud_fraction.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/util/infer_cloud_fraction.py b/modules/util/infer_cloud_fraction.py
index af9eab84..543e30be 100644
--- a/modules/util/infer_cloud_fraction.py
+++ b/modules/util/infer_cloud_fraction.py
@@ -7,9 +7,6 @@ tf_model_name = model_path+'tf_model_cld_frac_abi_v1' + os.sep
 
 
 def infer_cloud_fraction(clvrx_path, output_dir, model_path=model_path+tf_model_name, full_disk=True):
-    if not os.path.isdir(clvrx_path):
-        clvrx_path = os.path.basename(clvrx_path)
-
     clvrx_ds = CLAVRx(clvrx_path)
     for fname, t_start, t_stop in clvrx_ds:
         dto = clvrx_ds.get_datetime(fname)
-- 
GitLab