Skip to content

Commit 8499085

Browse files
committed
Remove unused property
1 parent 493aed8 commit 8499085

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/py_eddy_tracker/dataset/grid.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,6 @@ class GridDataset(object):
249249
"x_bounds",
250250
"y_bounds",
251251
"centered",
252-
"xinterp",
253-
"yinterp",
254252
"x_dim",
255253
"y_dim",
256254
"coordinates",
@@ -293,8 +291,6 @@ def __init__(
293291
self.y_dim = None
294292
self.centered = centered
295293
self.contours = None
296-
self.xinterp = None
297-
self.yinterp = None
298294
self.filename = filename
299295
self.coordinates = x_name, y_name
300296
self.vars = dict()
@@ -399,7 +395,6 @@ def load(self):
399395
self.vars[y_name] = h.variables[y_name][sl_y]
400396

401397
self.setup_coordinates()
402-
self.init_pos_interpolator()
403398

404399
@staticmethod
405400
def c_to_bounds(c):
@@ -1189,11 +1184,6 @@ def with_array(cls, coordinates, datas, variables_description=None, **kwargs):
11891184
obj.setup_coordinates()
11901185
return obj
11911186

1192-
def init_pos_interpolator(self):
1193-
"""Create function to have a quick index interpolator"""
1194-
self.xinterp = arange(self.x_bounds.shape[0])
1195-
self.yinterp = arange(self.y_bounds.shape[0])
1196-
11971187
def bbox_indice(self, vertices):
11981188
return bbox_indice_regular(
11991189
vertices,

0 commit comments

Comments
 (0)