From cfdfcb57d4cec38e43c9ba8ee78b32ab144a15b6 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 12 Nov 2024 16:10:06 -0600 Subject: [PATCH] snapshot... --- modules/util/acspo_validate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/util/acspo_validate.py b/modules/util/acspo_validate.py index 17c59a68..b8b89668 100644 --- a/modules/util/acspo_validate.py +++ b/modules/util/acspo_validate.py @@ -57,8 +57,8 @@ def acspo_validate(oper_file, cspp_file): print(np.size(lon_cspp), np.size(lon_oper)) print(np.size(lat_cspp), np.size(lat_oper)) - print(np.sum(np.isclose(lon_cspp, lon_oper))) - print(np.sum(np.isclose(lat_cspp, lat_oper))) + print(np.sum(np.isclose(lon_cspp, lon_oper, rtol=0.001))) + print(np.sum(np.isclose(lat_cspp, lat_oper, rtol=0.001))) sst_cspp = sst_cspp[start_idx_cspp:stop_idx_cspp, :].flatten() sst_oper = sst_oper[start_idx_oper:stop_idx_oper, :].flatten() -- GitLab