From 0f1fbc0c77e0ab03f752a8a6abef3a3fd7130cba Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 27 Dec 2024 15:36:39 -0600
Subject: [PATCH] snapshot...

---
 modules/util/acspo_validate.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/util/acspo_validate.py b/modules/util/acspo_validate.py
index 158a64a3..33d30ae1 100644
--- a/modules/util/acspo_validate.py
+++ b/modules/util/acspo_validate.py
@@ -65,11 +65,10 @@ def acspo_validate(oper_file, cspp_file, rel_tol=0.001, deg_tol=0.0002, outfile_
     start_idx_cspp, stop_idx_cspp = -1, -1
 
     # Average latitude spacing: 0.00652 deg
-    thresh = deg_tol  # deg
 
     for k in range(len(cntr_lat_oper)):
         diff = np.abs(cntr_lat_oper[k] - cntr_lat_cspp)
-        idx_a = np.where(diff < thresh)[0]
+        idx_a = np.where(diff < deg_tol)[0]
         if len(idx_a) == 0:
             continue
         elif len(idx_a) == 1:
-- 
GitLab