我正在尝试使用hydroTSM软件包使用R-studio中的8个雨量站的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"’
############################*发布于 2017-01-12 02:51:11
这是由"sp“包中的变化引起的错误。我们必须等待来自hydroTSM的新更新。
https://stackoverflow.com/questions/36934931
复制相似问题