euroargodev / ArgoData.jl

Argo data processing and analysis
https://euroargodev.github.io/ArgoData.jl/dev/
MIT License
18 stars 5 forks source link

argopy notebook ok? #67

Open gaelforget opened 2 months ago

gaelforget commented 2 months ago

The argopy notebook was recently updated to the new interface that is based on PythonCall.jl and CondaPkg.jl (in ArgoData.jl v0.1.23 ).

There are a few ways the Pluto notebook could be improved without too much work probably. For example, a couple other functionalities of argopy could be demonstrated (code cells) and a bit more information on argopy added (markdown cells).

@gmaze , are you able to run the notebook?

gmaze commented 2 months ago

Yes I was able to run the notebook, although it took quite a long time to compile everything You could add a link toward the argopy documentation: https://argopy.readthedocs.io One of the most important feature of argopy is that it let users choose how much of the Argo jargon to see with the user mode

gaelforget commented 2 months ago

Yes I was able to run the notebook, although it took quite a long time to compile everything

Great to hear!

Should be faster the 2nd time around. The time to compile (or rather compile+boot up) here includes installing argopy and its dependencies , and downloading data to plot. Second time around it should skip installing argopy due to :

argopy=try
    ArgoData.pyimport(:argopy)
catch
    ArgoData.conda(:argopy)
    ArgoData.pyimport(:argopy)
end

You could add a link toward the argopy documentation: https://argopy.readthedocs.io/

Technically there is one. But good point that more is needed.

One of the most important feature of argopy is that it let users choose how much of the Argo jargon to see with the user mode

I need to explore more. Don't hesitate to send a PR on this