Comments (4)
Solution:
using Pkg
Pkg.update()
(just reporting the issue for the record, in case others get it)
from diva-workshops.
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.
-
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) aManifest.toml
file ?
(for context: You will probably see old version of NCDatasets
. Starting the kernel IJulia
is equivalent to julia --project=@.
.
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.
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)
- fithorzlen fails in 12-correlation-length HOT 3
- Integrate 5-AdvancedTopics/time-aggregation.ipynb into 18-defining-time-periods.ipynb HOT 3
- TEST ISSUE :) Cannot open the notebooks with mac OS HOT 1
- Remove NaN values HOT 5
- notebook 15-example-analysis: ArgumentError: invalid base 10 digit 'C' HOT 2
- Alternative grid for interpolation (non lat-lon) HOT 3
- Errors in the notebook 14b-errormaps-demo HOT 2
- Use notebook extensions HOT 1
- Warning: "Preconditioned conjugate gradients method did not converge" in notebook 90-full-analysis HOT 3
- Broken links to download data HOT 1
- Removing notebook 05-DIVAnd-overview.ipynb
- File download failure HOT 1
- "Kernelspec name julia-1.100 cannot be found!" during CI HOT 1
- InitError: KeyError: key "get_cmap" not found during initialization of module PyPlot in CI HOT 1
- Writing a huge number of observations to a netCDF HOT 3
- Notebook clean-up HOT 3
- Analysis notebook HOT 5
- PosDefException in 13-processing-parameter-optimization HOT 6
- Getting rid of data files? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diva-workshops.