Detailed description |
Hi Robert,
Sorry I found another one ;-)
I am trying to aggregate all high Res Pixels underlying a medium resolution image
When i am in ClusterMode the following Code gives me an Error:
polys<-rasterToPolygons(mediumres, na.rm=FALSE, n=4)
mediumres[]<-extract(highres, polys, weights=FALSE, fun=mean).
I get:
|
| | 0%Using cluster with 6 nodes
Error in .local(x, y, ...) : cluster error at polygon: 1
It works fine without a Cluster ( Even if it does take a long time)
Maybe I am missing a more elegant solution to aggregating the data
As always R and Raster are up to date.
Best Julian
|
|