Skip to content
Prev 27590 / 29559 Next

Warning in fit.variogram: value out of range in 'bessel k' | automap and gstat packages

Frederico,


I don't think you need to worry about this warning in this case. autofitVariogram tests a lot of variogram models (and different kappa-values) in the search for the best one, and then fit.variogram tries to optimize the parameters based on these. It seems the warnings were generated in the C-code of gstat, based on some of the tested kappa-values for the Matern variogram (Stein implementation). It also seems that these kappa values did not give good fits to the sample variogram, so you did not get the warning from the best fit variogram in this case.


Hope this helps,

Jon



--
Jon Olav Sk?ien
European Commission
Joint Research Centre ? JRC.E.1
Disaster Risk Management Unit
Building 26b 1/144 | Via E.Fermi 2749, I-21027 Ispra (VA) Italy, TP 267
jon.skoien at ec.europa.eu<https://remi.webmail.ec.europa.eu/owa/redir.aspx?C=O12RUARdbvGA3WF3zGoSV0j5xMoZlQcIEwiS4Y9G8jzXRqCCC1HUCA..&URL=mailto%3ajon.skoien%40jrc.ec.europa.eu> Tel:  +39 0332 789205 Disclaimer: Views expressed in this email are those of the individual and do not necessarily represent official views of the European Commission.