From c95896478840de634ea14d784f3fe2da09502ae8 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 27 Dec 2024 15:29:41 -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 ce870395..158a64a3 100644 --- a/modules/util/acspo_validate.py +++ b/modules/util/acspo_validate.py @@ -5,7 +5,7 @@ import xarray as xr from util.util import get_grid_values_all -def acspo_validate(oper_file, cspp_file, rel_tol=0.001, outfile_nc=None): +def acspo_validate(oper_file, cspp_file, rel_tol=0.001, deg_tol=0.0002, outfile_nc=None): h5f_oper = h5py.File(oper_file, 'r') h5f_cspp = h5py.File(cspp_file, 'r') @@ -65,7 +65,7 @@ def acspo_validate(oper_file, cspp_file, rel_tol=0.001, outfile_nc=None): start_idx_cspp, stop_idx_cspp = -1, -1 # Average latitude spacing: 0.00652 deg - thresh = 0.0002 # deg + thresh = deg_tol # deg for k in range(len(cntr_lat_oper)): diff = np.abs(cntr_lat_oper[k] - cntr_lat_cspp) -- GitLab