Skip to content
Prev 3400 / 29559 Next

dimensions do not match

Thanks Mathieu, for sending me the data off-line.

If you have a massive data set, you should use kriging within a local 
neighbourhood to prevent forming and inverting a covariance matrix of 
4.3 Gb (24067 records, squared, times 8 bytes per double). You may try 
to convince the author of automap to take care of this, automatically.

When applying local kriging to your data set, I get the error message:

 > k = krige(valeur~1,sitesR,mask_SG,vgm(1, "Exp",300), nmax=30)
[using ordinary kriging]

"chfactor.c", line 130: singular matrix in function LDLfactor()
Error in predict.gstat(g, newdata = newdata, block = block, nsim = nsim,  :
  LDLfactor

which is usually, and in this case as well, due to duplicate 
observations, try

 > zerodist(sitesR)

Does automap take care of them, and if yes how?
--
Edzer
mathieu grelier wrote: