Skip to content

Commit 959dcf8

Browse files
committed
add variable to tracking dataset
1 parent f122dbd commit 959dcf8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/py_eddy_tracker/observations/observation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
flatten_line_matrix,
6868
wrap_longitude,
6969
local_to_coordinates,
70-
reverse_index
70+
reverse_index,
7171
)
7272
from ..poly import bbox_intersection, vertice_overlap, create_vertice
7373

@@ -138,8 +138,8 @@ class EddiesObservations(object):
138138
"shape_error_e",
139139
"shape_error_s",
140140
"nb_contour_selected",
141-
'num_point_e',
142-
'num_point_s',
141+
"num_point_e",
142+
"num_point_s",
143143
"height_max_speed_contour",
144144
"height_external_contour",
145145
"height_inner_contour",
@@ -723,7 +723,7 @@ def intern(flag, public_label=False):
723723
else:
724724
labels = "contour_lon_e", "contour_lat_e"
725725
if public_label:
726-
labels = [VAR_DESCR[label]['nc_name'] for label in labels]
726+
labels = [VAR_DESCR[label]["nc_name"] for label in labels]
727727
return labels
728728

729729
def match(self, other, intern=False, cmin=0):

src/py_eddy_tracker/observations/tracking.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ class TrackEddiesObservations(EddiesObservations):
6969
"shape_error_e",
7070
"shape_error_s",
7171
"nb_contour_selected",
72+
"num_point_e",
73+
"num_point_s",
7274
"height_max_speed_contour",
7375
"height_external_contour",
7476
"height_inner_contour",

0 commit comments

Comments
 (0)