Git Product home page Git Product logo

Comments (4)

ctroupin avatar ctroupin commented on September 26, 2024

Solution:

using Pkg
Pkg.update()

(just reporting the issue for the record, in case others get it)

from diva-workshops.

ctroupin avatar ctroupin commented on September 26, 2024

It now works in the notebook 90 but still had an issue in another application, using the same domain configuration but different data.

Replacing lonr by collect(lonr) etc. solves the issue, but why?

@time dbinfo = diva3d((collect(lonr), collect(latr), collect(depthr), TS),
    (obslon, obslat, obsdepth, obstime), obsval,
    len, eps2,
    outputfile, varname,
    bathname=bathname,
    mask = mask,
    fitcorrlen = false,
    niter_e = 2,
    ncvarattrib = ncvarattrib,
    ncglobalattrib = ncglobalattrib,
    surfextend = true
    );

Package versions

julia> Pkg.status()
      Status `~/.julia/environments/v1.7/Project.toml`
  [336ed68f] CSV v0.10.4
  [052768ef] CUDA v3.12.0
  [8be319e6] Chain v0.5.0
  [8f4d0f93] Conda v1.7.0
  [0d879ee6] DINCAE v2.0.1
  [f57bf84d] DINCAE_utils v0.1.0 `https://github.com/gher-ulg/DINCAE_utils.jl#main`
  [efc8151c] DIVAnd v2.7.8 `~/ULiege/Tools/DIVAnd.jl`
  [1b7aed40] DIVAndNN v0.1.0 `https://github.com/gher-ulg/DIVAndNN.jl#master`
  [7f46824f] DIVAnd_HFRadar v0.1.0 `https://github.com/gher-ulg/DIVAnd_HFRadar.jl#master`
  [864edb3b] DataStructures v0.18.13
  [b4f34e82] Distances v0.10.7
  [31c24e10] Distributions v0.25.66
  [2fb1d81b] GeoArrays v0.7.8
  [855c05df] GeoMapping v0.0.0 `[email protected]:Alexander-Barth/GeoMapping.jl.git#master`
  [0ef565a4] Geodesy v1.1.0
  [c27321d9] Glob v1.3.0
  [cd3eb016] HTTP v0.9.17
  [7073ff75] IJulia v1.23.3
  [a98d9a8b] Interpolations v0.13.6
  [682c06a0] JSON v0.21.3
  [1902f260] Knet v1.4.10
  [23992714] MAT v0.10.3
  [e1d29d7a] Missings v1.0.2
  [0db19996] NBInclude v2.3.0
  [85f8d34a] NCDatasets v0.12.6 `[email protected]:Alexander-Barth/NCDatasets.jl.git#master`
  [b946abbf] NaNStatistics v0.6.14
  [626c502c] Parquet v0.8.4
  [3725be50] PhysOcean v0.6.5
  [f3e62ec7] PkgCleanup v0.1.0 `https://github.com/giordano/PkgCleanup.jl#main`
  [eebad327] PkgVersion v0.2.0
  [c3e4b0f8] Pluto v0.19.9
  [438e738f] PyCall v1.93.1
  [d330b81b] PyPlot v2.10.0
  [6f49c342] RCall v0.13.13
  [295af30f] Revise v3.4.0
  [276daf66] SpecialFunctions v2.1.7
  [860ef19b] StableRNGs v1.0.0
  [90137ffa] StaticArrays v1.5.2
  [fd094767] Suppressor v0.2.1
  [0a941bbe] Zarr v0.7.2
  [7243133f] NetCDF_jll v400.802.103+0 `https://github.com/JuliaBinaryWrappers/NetCDF_jll.jl#main`
  [10745b16] Statistics

from diva-workshops.

Alexander-Barth avatar Alexander-Barth commented on September 26, 2024
  • Within notebook 90 can you also run in a new cell Pkg.status() and paste the output here?

  • Can you check if you have in notebook (or its parent directory) a Manifest.toml file ?

(for context: You will probably see old version of NCDatasets. Starting the kernel IJulia is equivalent to julia --project=@..

https://github.com/JuliaLang/IJulia.jl/blob/1cdaf7e5e65c1221b4a3fac86f63253bea65a0c5/docs/src/manual/usage.md#julia-projects

Pkg.update() updates only your current environment (per default the global environment is used /home/USER/.julia/environments/vVERSION/).

Here is some explanation of @.:

https://stackoverflow.com/a/53624158/3801401

)

from diva-workshops.

ctroupin avatar ctroupin commented on September 26, 2024

Sorry, I forgot to close that one.
I now works and I'm not sure why it was failing at some point.

from diva-workshops.

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.