From 4d3dcfd3502a35994a80ad7ed16e83dbeb1acf3f Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sat, 3 Jun 2023 13:07:06 -0500
Subject: [PATCH] snapshot...

---
 modules/util/infer_cloud_fraction.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/util/infer_cloud_fraction.py b/modules/util/infer_cloud_fraction.py
index c7f51f6c..1546545b 100644
--- a/modules/util/infer_cloud_fraction.py
+++ b/modules/util/infer_cloud_fraction.py
@@ -1,10 +1,13 @@
 from util.setup_cloud_fraction import model_path
+import os
 from deeplearning.cloud_fraction_fcn_abi import run_evaluate_static, run_evaluate_static_full_disk
 
+tf_model_name = model_path+'tf_model_cld_frac_abi_v1' + os.sep
 
-def infer_cloud_fraction(clavrx_file, model_path=model_path):
+
+def infer_cloud_fraction(clavrx_file, model_path=model_path+tf_model_name):
     cld_frac = run_evaluate_static(clavrx_file, None, model_path)
 
 
-def infer_cloud_fraction_full_disk(clavrx_file, model_path=model_path):
+def infer_cloud_fraction_full_disk(clavrx_file, model_path=model_path+tf_model_name):
     cld_frac = run_evaluate_static_full_disk(clavrx_file, None, model_path)
\ No newline at end of file
-- 
GitLab