Skip to content
Snippets Groups Projects
Commit 0f1fbc0c authored by tomrink's avatar tomrink
Browse files

snapshot...

parent c9589647
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment