scipy.interpolate.Rbf插值(function='linear')出现LinAlgError: Matrix is singular.错误,翻译解释为,线性误差:矩阵是奇异的。
经过分析,是因为给定的插值点出现相同坐标两个数据的情况。例如相同的经纬度坐标给出了两个值。
参考:
https://stackoverflow.com/questions/19237512/rbf-interpolation-linalgerror-singular-matrix
https://www.e-learn.cn/topic/3094915