From ebb2c2937d27e8639642ffc0f7b015ef857120fe Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Fri, 27 Dec 2024 09:33:07 -0600
Subject: [PATCH] snapshot...

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

diff --git a/modules/util/acspo_validate.py b/modules/util/acspo_validate.py
index 8247b410..92f93dae 100644
--- a/modules/util/acspo_validate.py
+++ b/modules/util/acspo_validate.py
@@ -23,6 +23,7 @@ def acspo_validate(oper_file, cspp_file, rel_tol=0.001, outfile_nc=None):
     # dtime_cspp = get_grid_values_all(h5f_cspp, 'sst_dtime')[0, ]
     # ref_time_cspp = get_grid_values_all(h5f_cspp, 'time')[0]
     print('cspp shape: ', lat_cspp.shape)
+    cspp_track_len = lat_cspp.shape[0]
     c_idx = lat_cspp.shape[1] // 2
 
     cntr_lon_cspp = lon_cspp[:, c_idx]
@@ -48,6 +49,7 @@ def acspo_validate(oper_file, cspp_file, rel_tol=0.001, outfile_nc=None):
     cntr_lat_oper = lat_oper[:, c_idx]
     # cntr_dtime_oper = dtime_oper[::16, c_idx]
     print('oper shape: ', lat_oper.shape)
+    oper_track_len = lat_oper.shape[0]
     sst_oper = get_grid_values_all(h5f_oper, 'sea_surface_temperature')[0, ]
     l2p_flags_oper = get_grid_values_all(h5f_oper, 'l2p_flags')[0, ]
 
-- 
GitLab