Skip to content

Commit 1fbe622

Browse files
committed
update use of match function
1 parent 0b64a4d commit 1fbe622

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/02_eddy_identification/pet_filter_and_detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def update_axes(ax, mappable=None):
8282
# Match detection and compare
8383
# ---------------------------
8484

85-
i_, j_, c = merge_f.match(merge_r, 0.1)
85+
i_, j_, c = merge_f.match(merge_r, cmin=0.1)
8686

8787
# %%
8888
# where is lonely eddies

examples/02_eddy_identification/pet_sla_and_adt.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ def update_axes(ax, mappable=None):
8989
# Match
9090
# -----------------------
9191
# Where cyclone meet anticyclone
92-
i_c_adt, i_a_sla, c = c_adt.match(a_sla, 0.1)
93-
i_a_adt, i_c_sla, c = a_adt.match(c_sla, 0.1)
92+
i_c_adt, i_a_sla, c = c_adt.match(a_sla, cmin=0.01)
93+
i_a_adt, i_c_sla, c = a_adt.match(c_sla, cmin=0.01)
9494

9595
ax = start_axes("Cyclone share area with anticyclone")
9696
a_adt.index(i_a_adt).display(ax, **kwargs_a_adt)
@@ -104,8 +104,8 @@ def update_axes(ax, mappable=None):
104104
# %%
105105
# Scatter plot
106106
# ------------
107-
i_a_adt, i_a_sla, c = a_adt.match(a_sla, 0.1)
108-
i_c_adt, i_c_sla, c = c_adt.match(c_sla, 0.1)
107+
i_a_adt, i_a_sla, c = a_adt.match(a_sla, cmin=0.1)
108+
i_c_adt, i_c_sla, c = c_adt.match(c_sla, cmin=0.1)
109109

110110
# %%
111111
# where is lonely eddies

0 commit comments

Comments
 (0)