How would i formulate an expression to get two variogram components in one statement. I'm using GridData3 with simple kriging. In my variogram. I want a linear model as well as a nugget effect. Apparently if you do not specify a variogram component, you get the linear model by default. But I have this statement ahead of the Griddata3 statement...
KrigComp = Srf.NewVarioComponent(VarioType:=Surfer.SrfVarioType.srfVarNugget, Param1:=1, Param2:=1)
Srf.GridData3(DataFile:=EM.EMDir & EM.GpsemFile, xCol:=1, yCol:=2, zCol:=zColNum, DupMethod:=Surfer.SrfDupMethod.srfDupFirst, Algorithm:=Surfer.SrfGridAlgorithm.srfKriging, ShowReport:=False, SearchEnable:=True, SearchNumSectors:=8, SearchMinData:=5, SearchDataPerSect:=3, SearchMaxEmpty:=8, SearchRad1:=EM.Radii, SearchRad2:=EM.Radii, KrigType:=Surfer.SrfKrigType.srfKrigPoint, KrigDriftType:=Surfer.SrfDriftType.srfDriftNone, KrigVariogram:=KrigComp, OutGrid:=OutQFile)
This works fine, but now KrigVariogram is set to KrigComp (ie a nugget effect). Is it possible to have a compound statement to also get a linear model? I use VB.net, but if you can express it in Scripter, I can adapt it to VB.
Please sign in to leave a comment.