Griddata Runtime Error - Python / SciPy (Interpolation)

I use scipy griddate-function for interpolation.

What is the meaning of the following error message that appears when python executes the griddata function?

File "C:\Python25\lib\site-packages\scipy\interpolate\ndgriddata.py", line 182, in griddata
ip = LinearNDInterpolator(points, values, fill_value=fill_value)
File "interpnd.pyx", line 192, in interpnd.LinearNDInterpolator.__init__ (scipy\interpolate\interpnd.c:2524)
File "qhull.pyx", line 917, in scipy.spatial.qhull.Delaunay.__init__ (scipy\spatial\qhull.c:4030)
File "qhull.pyx", line 170, in scipy.spatial.qhull._construct_delaunay (scipy\spatial\qhull.c:1269)
RuntimeError: Qhull error
+3
source share
2 answers

This usually means that the point set you submitted cannot be triangulated. Some common cases when this can happen:

  • You have 2D data, but all points lie along the line. In this case, there is no data triangulation for non-degenerate triangles.
  • You have 3D data, but all the points are on the plane, so no decomposition into non-degenerate tetrahedra. And so on to higher dimensions.

, , griddata.

, Qhull , stderr, , , .

+7

, qhull (http://www.qhull.org), , - .

?

, ?

+1

All Articles