Commit dda51d56 authored by Paulo Medeiros's avatar Paulo Medeiros
Browse files

DomainGrid.thin_obs: Fix "float" index issue

Fixes issue #4.
parent 7991e429
Pipeline #9508 failed with stages
in 2 minutes and 42 seconds
......@@ -319,6 +319,7 @@ class DomainGrid(Grid2D):
# Sort data by distance to nearest grid point
def _dist(lon, lat, i, j):
i, j = int(i), int(j)
p0 = np.array([lon, lat])
p1 = np.array([g2lon[i, j], g2lat[i, j]])
return haversine_distance(p0, p1)
......
[tool.poetry]
name = "netatmoqc"
version = "0.3.7"
version = "0.3.8"
description = "Use machine learning clustering methods to perform quality control over NetAtmo data"
authors = [
"Paulo V. C. Medeiros <paulo.medeiros@smhi.se>"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment