Skip to content

Commit c003b43

Browse files
committed
Bugfix SwirlSpeed object
1 parent b78811a commit c003b43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

make_eddy_track_AVISO.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
datestr2datetime, gaussian_resolution, \
3737
get_cax, collection_loop, track_eddies, \
3838
anim_figure
39-
from py_eddy_tracker_amplitude import SwirlSpeed
39+
from py_eddy_tracker_property_classes import SwirlSpeed
4040
import make_eddy_tracker_list_obj as eddy_tracker
4141
import scipy.ndimage as ndimage
4242
import scipy.interpolate as interpolate

py_eddy_tracker_property_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def __init__(self, contour):
249249
x.append(coll.vertices[:, 0])
250250
y.append(coll.vertices[:, 1])
251251
thelen = len(coll.vertices[:, 0])
252-
ci.append
252+
ci.append(thelen)
253253
li.append(len(cont.get_paths()))
254254

255255
self.x = np.array([val for sublist in x for val in sublist])

0 commit comments

Comments
 (0)