Skip to content

Commit 4a01f43

Browse files
Fix docstring for _hash_cell_size
1 parent 723cb47 commit 4a01f43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

parcels/spatialhash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(
7777

7878
def _hash_cell_size(self):
7979
"""Computes the size of the hash cells from the source grid.
80-
The hash cell size is set to 1/2 of the square root of the curvilinear cell area
80+
The hash cell size is set to 1/2 of the square root of the median cell area
8181
"""
8282
return np.sqrt(np.median(_planar_quad_area(self._source_grid.lat, self._source_grid.lon))) * 0.5
8383

0 commit comments

Comments
 (0)