We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca426cd commit f53003aCopy full SHA for f53003a
parcels/spatialhash.py
@@ -30,7 +30,7 @@ def __init__(
30
self._source_grid = grid
31
self.reconstruct = reconstruct
32
33
- if self._source_grid.mesh == "spherical":
+ if self._source_grid._mesh == "spherical":
34
# Boundaries of the hash grid are the unit cube
35
self._xmin = -1.0
36
self._ymin = -1.0
@@ -172,7 +172,7 @@ def query(
172
173
y = np.asarray(y)
174
x = np.asarray(x)
175
176
# Convert coords to Cartesian coordinates (x, y, z)
177
lat = np.deg2rad(y)
178
lon = np.deg2rad(x)
0 commit comments