diff --git a/modules/util/acspo_validate.py b/modules/util/acspo_validate.py index 17c59a68e520db7c13c21df3c4716024490ed70b..b8b896680cc3c958191cbb04e86ef93e66091ff1 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()