Skip to content

Commit

Permalink
Merge pull request #59 from euroargodev/v0p1p21b
Browse files Browse the repository at this point in the history
update links in docs, test pyimport also on arm64
  • Loading branch information
gaelforget authored Aug 19, 2024
2 parents b4f0b6f + 7f38548 commit c3b53be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/src/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ lst=Dataverse.file_list(doi)

## Argo via Python API

The python library called [argopy](https://img.shields.io/readthedocs/argopy?logo=readthedocs) provides more ways to access, manipulate, and visualize [Argo data](https://argopy.readthedocs.io/en/latest/what_is_argo.html#what-is-argo). The notebook below demonstrates how you can :
The python library called [argopy](https://github.com/euroargodev/argopy#readme) provides more ways to access, manipulate, and visualize [Argo data](https://argopy.readthedocs.io/en/latest/what_is_argo.html#what-is-argo). The notebook below demonstrates how you can :

1. install `argopy` into `Julia` via [Conda.jl](https://github.com/JuliaPy/Conda.jl)
2. use `argopy` from Julia via [PyCall.jl](https://github.com/JuliaPy/PyCall.jl)
1. install `argopy` into `Julia` via [Conda.jl](https://github.com/JuliaPy/Conda.jl#readme)
2. use `argopy` from Julia via [PyCall.jl](https://github.com/JuliaPy/PyCall.jl#readme)

πŸ‘‰ [Notebook](http://gaelforget.net/notebooks/Argo_argopy.html) πŸ‘ˆ [(code)](https://raw.githubusercontent.com/euroargodev/ArgoData.jl/master/examples/Argo_argopy.jl)
πŸ‘‰ [Notebook](../Argo_argopy.html) πŸ‘ˆ [(code)](https://raw.githubusercontent.com/euroargodev/ArgoData.jl/master/examples/Argo_argopy.jl)
8 changes: 6 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ using Climatology, MITgcm
ENV["DATADEPS_ALWAYS_ACCEPT"]=true
Climatology.MITPROFclim_download()

if Sys.ARCH!==:aarch64
if false #external python path
run_argopy=true
#Sys.ARCH==:aarch64 ? run_argopy=false : nothing

if run_argopy
method="internal"
if method=="external"
tmpfile=joinpath(tempdir(),"pythonpath.txt")
run(pipeline(`which python`,tmpfile))
ENV["PYTHON"]=readline(tmpfile)
Expand Down

0 comments on commit c3b53be

Please sign in to comment.