-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dask powered Xarray example and dask labview (#2)
* Add configs for labview plugin * Add dask config with nbserverproxy link * Default to lab * Add xarray example with dask backend * Rename file * Use v2.0.0 for binder
- Loading branch information
Showing
9 changed files
with
550 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
distributed: | ||
logging: | ||
bokeh: critical | ||
|
||
dashboard: | ||
link: /user/{JUPYTERHUB_USER}/proxy/{port}/status | ||
|
||
admin: | ||
tick: | ||
limit: 5s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
Welcome To The Python Intro | ||
=========================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
graphviz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"data": { | ||
"file-browser-filebrowser:cwd": { | ||
"path": "" | ||
}, | ||
"dask-dashboard-launcher:individual-progress": { | ||
"data": { | ||
"route": "individual-progress", | ||
"label": "Progress" | ||
} | ||
}, | ||
"dask-dashboard-launcher:individual-task-stream": { | ||
"data": { | ||
"route": "individual-task-stream", | ||
"label": "Task Stream" | ||
} | ||
}, | ||
"layout-restorer:data": { | ||
"main": { | ||
"dock": { | ||
"type": "split-area", | ||
"orientation": "horizontal", | ||
"sizes": [ | ||
0.5, | ||
0.5 | ||
], | ||
"children": [ | ||
{ | ||
"type": "tab-area", | ||
"currentIndex": 0, | ||
"widgets": [ | ||
"markdownviewer-widget:Welcome.md" | ||
] | ||
}, | ||
{ | ||
"type": "split-area", | ||
"orientation": "vertical", | ||
"sizes": [ | ||
0.67, | ||
0.33 | ||
], | ||
"children": [ | ||
{ | ||
"type": "tab-area", | ||
"currentIndex": 0, | ||
"widgets": [ | ||
"dask-dashboard-launcher:individual-task-stream" | ||
] | ||
}, | ||
{ | ||
"type": "tab-area", | ||
"currentIndex": 0, | ||
"widgets": [ | ||
"dask-dashboard-launcher:individual-progress" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"mode": "multiple-document", | ||
"current": "markdownviewer-widget:Welcome.md" | ||
}, | ||
"left": { | ||
"collapsed": false, | ||
"current": "filebrowser", | ||
"widgets": [ | ||
"filebrowser", | ||
"running-sessions", | ||
"dask-dashboard-launcher", | ||
"command-palette", | ||
"tab-manager" | ||
] | ||
}, | ||
"right": { | ||
"collapsed": true, | ||
"widgets": [] | ||
} | ||
}, | ||
"markdownviewer-widget:Welcome.md": { | ||
"data": { | ||
"path": "Welcome.md", | ||
"factory": "Markdown Preview" | ||
} | ||
}, | ||
"dask-dashboard-launcher": { | ||
"url": "DASK_DASHBOARD_URL", | ||
"cluster": "" | ||
} | ||
}, | ||
"metadata": { | ||
"id": "/lab" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
# Install the JupyterLab dask-labextension | ||
jupyter labextension install [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# Replace DASK_DASHBOARD_URL with the proxy location | ||
sed -i -e "s|DASK_DASHBOARD_URL|/user/${JUPYTERHUB_USER}/proxy/8787|g" binder/jupyterlab-workspace.json | ||
|
||
# Temporary workspace workaround | ||
cp binder/jupyterlab-workspace.json /home/jovyan/.jupyter/lab/workspaces/lab-a511.jupyterlab-workspace | ||
|
||
exec "$@" |
405 changes: 405 additions & 0 deletions
405
session-02_part-05_dask-powered_read_and_plot_baltic_hydrography_xarray.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.