GithubHelp home page GithubHelp logo

Comments (5)

ctroupin avatar ctroupin commented on July 25, 2024

Hello,
can you indicate which version of DIVAnd you are presently using?

(in the package REPL mode):

(v1.1) pkg> status

Can you also run the tests on DIVAnd?

Pkg.test("DIVAnd")

from divand.jl.

croachutas avatar croachutas commented on July 25, 2024

I'm using DIVAnd v2.3.1 on Julia v1.1.1 DIVAnd passes all tests.

I think I was still on DIVAnd v2.3.0 on Julia v1.0.3. Again passed all tests.

Also, note that I'm using the Julia pre-compiled linux x86 binaries.


Anyway, I've remove the .julia folder form my home directory and reinstalled DIVAnd and all associated packages... And now I'm getting the same problem with Julia v1.0.3...


Reviewing the error, it points to the part of DIVAnd_obs that deals with removing NaN values... And I know the input data contains NaNs (issues regarding interpolation near coasts). Adding some extra code to my scripts to remove the NaN values before running DIVAndrun fixes things in both Julia v1.0.3 and v1.1.1.

Still, doesn't explain why I'm getting the error...

from divand.jl.

ctroupin avatar ctroupin commented on July 25, 2024

Could you post your code or a minimum working example (failing in this case) with a subset of the data, so we can try to reproduce the issue on our machines?

I guess you already tried to de-activate the velocity and the modim?

Indeed DIVAnd can deal with NaN's, in fact they are replaced by zeros and a warning is issued, so that should not be an issue.

from divand.jl.

Alexander-Barth avatar Alexander-Barth commented on July 25, 2024

In the last released version, there is indeed a issue when some observations are equal to NaN in DIVAnd.DIVAndrun. It is fixed in the master version which will be released soon.

If you want to try the "master version" of DIVAnd, you can use:

]dev DIVAnd

We only merge changes in the master version when all test pass. So it is reasonable stable.

Thank you for reporting this issue.

from divand.jl.

Alexander-Barth avatar Alexander-Barth commented on July 25, 2024

For your information, I just released a new version of DIVAnd where this problem should be solved.
If this would not be the case, please re-open this issue or file a new issue.
Thanks for your feed-back.

from divand.jl.

Related Issues (20)

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.