New answers tagged

0 votes

Maximize CPU and memory usage when using gdalwarp

From what I can tell this isn't really possible with the current gdalwarp algorithms without running parallel processes Depending on your process it may be faster to split up the tiff into separate ...
Buff Fox's user avatar
  • 107
0 votes

Error in optim: function cannot be evaluated at initial parameters

This issue was solved by omiting the NA's values with this command : sum(..., na.rm=TRUE)
Aurélien Lengrand's user avatar
2 votes
Accepted

Nothing to summarize if you provide a single RasterLayer; see cellStats

The min.RSS function is doing a sum on a raster, and that returns a raster, and optim wants a global single value, I assume this is a sum over cells. I would take the values of the cells and convert ...
Spacedman's user avatar
  • 62.6k

Top 50 recent answers are included