-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Labels
Description
I got this while I tried to OrdinaryKriging in a loop.
Here is part of code
for obse in ObseSites.items:
for j in range(len(obse.freqs)):
if math.isclose(obse.freqs[j], freq):
x.append(obse.x/1000.)
y.append(obse.y/1000.)
rxy.append(math.log10(obse.rxy[j].re))
pxy.append(DegtoFirstQuadrant(obse.pxy[j].re))
ryx.append(math.log10(obse.ryx[j].re))
pyx.append(DegtoFirstQuadrant(obse.pyx[j].re))
break
for j in range(len(component)):
ok = OrdinaryKriging(y, x, component[j], variogram_model='exponential', verbose=True)
z, ss = ok.execute('grid', gridy, gridx)
The error output is as below
Adjusting data for anisotropy...
Initializing variogram model...