Skip to content

Commit 27b16ee

Browse files
Remove global_grid arg to spatialhash
1 parent 1c3958c commit 27b16ee

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

parcels/xgrid.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ def _fpoint_info(self):
318318

319319
def get_spatial_hash(
320320
self,
321-
global_grid=False,
322321
reconstruct=False,
323322
):
324323
"""Get the SpatialHash data structure of this Grid that allows for
@@ -339,7 +338,7 @@ def get_spatial_hash(
339338
340339
"""
341340
if self._spatialhash is None or reconstruct:
342-
self._spatialhash = SpatialHash(self, global_grid, reconstruct)
341+
self._spatialhash = SpatialHash(self, reconstruct)
343342

344343
return self._spatialhash
345344

0 commit comments

Comments
 (0)