Git Product home page Git Product logo

Comments (3)

ctroupin avatar ctroupin commented on September 27, 2024

Hello Javiera,
the warning comes from the conjugategradient( ) function, this function is used to solve linear system such as A x = b. The message indicates there was a problem in the convergence of the iterative method.

It is possible to use another type of methods to solve the system: https://gher-uliege.github.io/DIVAnd.jl/stable/#DIVAnd.DIVAndrun

inversion: direct solver (:chol for Cholesky factorization), an interative solver (:pcg for preconditioned conjugate gradient [1]) can be used or :cg_amg_sa for a multigrid method with preconditioned conjugate gradient. The two last methods are iterative methods who a controlled by the number of iterations maxit and the tolerance tol.

or to increase the number of iterations (parameter maxit).

The reason why it did not convergence it not clear to me. Can you show a plot with the data distribution?

from diva-workshops.

sanjaviera avatar sanjaviera commented on September 27, 2024

Hello,
thank you, Charles. I will try to solve it with the suggestions you've made.
I attached figures of data distribution and bathymetry. Furthermore, I think that the resolution of latr and lonr may be too fine (since it's a small domain) and it's causing this issue.

dx = 0.0125 dy = dx lonr = -74.:dx:-72. latr = -52.5:dy:-51.

GAM-Bathymetry
GAM-Data
GAM-Mask

Cheers,
Javiera

from diva-workshops.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.