Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Binder #7

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 112 additions & 62 deletions Lessons/L03_UsingArgoData/Chapter24_ArgoDatabyFloat_ArgoPy.ipynb

Large diffs are not rendered by default.

991 changes: 985 additions & 6 deletions Lessons/L03_UsingArgoData/Chapter32_ArgoDatabyDate_ArgoPy.ipynb

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ repository :
# Launch button settings
launch_buttons:
notebook_interface: jupyterlab # The interface interactive links will activate ["classic", "jupyterlab"]
binderhub_url: "" # The URL of the BinderHub (e.g., https://mybinder.org)
binderhub_url: "https://mybinder.org" # The URL of the BinderHub (e.g., https://mybinder.org)
# https://mybinder:org/v2/gh/euroargodev/argoonlineschool/master?urlpath=lab/tree/Lessons/L03_UsingArgoData/Chapter24_ArgoDatabyFloat_ArgoPy.ipynb

number_toc_chapters : true

Expand Down
2 changes: 2 additions & 0 deletions binder/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM pangeo/pangeo-notebook:latest
RUN pip install --no-cache-dir cmocean argopy
2 changes: 2 additions & 0 deletions binder/apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vim
git
10 changes: 10 additions & 0 deletions binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

jupyter serverextension enable --py nbgitpuller --sys-prefix

jupyter labextension install --clean \
@jupyter-widgets/jupyterlab-manager \
dask-labextension \
@pyviz/jupyterlab_pyviz

#EOF
9 changes: 9 additions & 0 deletions binder/start
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -l

# ==== ONLY EDIT WITHIN THIS BLOCK =====

export PANGEO_ENV="pangeo-notebook"

# ==== ONLY EDIT WITHIN THIS BLOCK =====

exec "$@"
4 changes: 3 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ dependencies:
- matplotlib
- seawater
- cartopy
- argopy
- seaborn
- gsw
- pip:
- git+http://github.com/euroargodev/argopy.git@master