Skip to content

SVD did not converge #159

@Ml0749276

Description

@Ml0749276

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...

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions