From 7b0d1f6049e98f0621c5112cc6066db90168ecaf Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 25 Sep 2023 14:38:44 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/deeplearning/cloud_opd_fcn_abi.py b/modules/deeplearning/cloud_opd_fcn_abi.py
index bcda7169..8bf3107f 100644
--- a/modules/deeplearning/cloud_opd_fcn_abi.py
+++ b/modules/deeplearning/cloud_opd_fcn_abi.py
@@ -379,18 +379,18 @@ class SRCNN:
 
         refl_lo = input_data[:, params.index(sub_fields[0]), :, :]
         refl_lo = refl_lo[:, slc_y, slc_x]
-        refl_lo = scale2[refl_lo, -2.0, 120.0]
+        refl_lo = scale2(refl_lo, -2.0, 120.0)
 
         refl_hi = input_data[:, params.index(sub_fields[1]), :, :]
         refl_hi = refl_hi[:, slc_y, slc_x]
-        refl_hi = scale2[refl_hi, -2.0, 120.0]
+        refl_hi = scale2(refl_hi, -2.0, 120.0)
 
         refl_rng = refl_hi - refl_lo
         data_norm.append(refl_rng)
 
         refl_std = input_data[:, params.index(sub_fields[2]), :, :]
         refl_std = refl_std[:, slc_y, slc_x]
-        refl_std = scale2[refl_std, 0.0, 30.0]
+        refl_std = scale2(refl_std, 0.0, 30.0)
         data_norm.append(refl_std)
 
         tmp = input_label[:, label_idx_i, :, :]
-- 
GitLab