hydroTSM降雨插值

时间:2016-04-29 09:42:27

标签: r interpolation

我正在尝试使用hydroTSM软件包从R-studio的8个raingauge工作站使用IDWrainfall数据进行插值。一切顺利,直到我得到下面的错误的最后一点。我无法解读它的含义。有人可以帮忙吗?

xL.idw <- hydrokrige(x.ts= RAINFALLDATA, x.gis=EbroPPgischanged,
+                     X="EAST_ED50", Y="NORTH_ED50", sname="ID",
+                     bname="CHE_BASIN",
+                     type= "block",
+                     subcatchments= lowaat_catchments,
+                     cell.size= 3000,
+                     ColorRamp= "Precipitation")
[ Subb IDs: ]
0  1  
[Subcatchments found: 2 ]
['predictors' was not provided. Computing the grid...]

[ Date: 1/1/1960 ]
[Starting grid interpolations...]
[inverse distance weighted interpolation]
[Starting block interpolations...]
E*rror in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘overlay’ for signature ‘"SpatialPixelsDataFrame", "SpatialPolygonsDataFrame"’
############################*

1 个答案:

答案 0 :(得分:1)

这是由“sp”包中的更改引起的错误。我们必须等待来自hydroTSM的新更新。

更多细节请参见此处:https://www.rforge.net/hydroTSM/index.html