From ba370a38697a52790e9809c3c54f259e37d4f680 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 2 Jun 2023 11:53:44 -0500 Subject: [PATCH] snapshot... --- modules/util/infer_cloud_fraction.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 modules/util/infer_cloud_fraction.py diff --git a/modules/util/infer_cloud_fraction.py b/modules/util/infer_cloud_fraction.py new file mode 100644 index 00000000..c7f51f6c --- /dev/null +++ b/modules/util/infer_cloud_fraction.py @@ -0,0 +1,10 @@ +from util.setup_cloud_fraction import model_path +from deeplearning.cloud_fraction_fcn_abi import run_evaluate_static, run_evaluate_static_full_disk + + +def infer_cloud_fraction(clavrx_file, model_path=model_path): + cld_frac = run_evaluate_static(clavrx_file, None, model_path) + + +def infer_cloud_fraction_full_disk(clavrx_file, model_path=model_path): + cld_frac = run_evaluate_static_full_disk(clavrx_file, None, model_path) \ No newline at end of file -- GitLab