From 4c383f4659790bb2f393e92fd415c35d4179cc85 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 28 Aug 2023 21:24:06 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/cloud_opd_fcn_abi.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/deeplearning/cloud_opd_fcn_abi.py b/modules/deeplearning/cloud_opd_fcn_abi.py
index 1215d41b..7797df99 100644
--- a/modules/deeplearning/cloud_opd_fcn_abi.py
+++ b/modules/deeplearning/cloud_opd_fcn_abi.py
@@ -897,13 +897,12 @@ def run_restore_static(directory, ckpt_dir, out_file=None):
     if out_file is not None:
         y_hi, x_hi = (Y_LEN // 4) + 1, (X_LEN // 4) + 1
         np.save(out_file,
-                [labels, preds,
+                [labels, preds, cat_cld_frac,
                  inputs[:, 1:y_hi, 1:x_hi, 0],
                  descale(inputs[:, 1:y_hi, 1:x_hi, 1], 'refl_0_65um_nom', mean_std_dct),
                  descale(inputs[:, 1:y_hi, 1:x_hi, 2], 'refl_0_65um_nom', mean_std_dct),
                  inputs[:, 1:y_hi, 1:x_hi, 3],
-                 descale(inputs[:, 1:y_hi, 1:x_hi, 4], label_param, mean_std_dct),
-                 cat_cld_frac])
+                 descale(inputs[:, 1:y_hi, 1:x_hi, 4], label_param, mean_std_dct)])
 
 
 def run_evaluate_static(in_file, out_file, ckpt_dir):
-- 
GitLab