|
1 | 1 | Introduction to notebooks |
2 | 2 | ========================= |
3 | 3 |
|
4 | | -Jupyter notebooks are a convenient tool for interactive data exploration and are used here to demonstrate usage of ``viresclient``. We encourage users to try out Jupyter for themselves and to consider sharing notebooks with others. If you have a comment about one of the notebooks, or would like a particular demonstration, you can `open a GitHub Issue <https://github.com/smithara/viresclient_examples/issues/new>`_ or get in touch otherwise. |
| 4 | +Jupyter notebooks are a convenient tool for interactive data exploration, rapid prototyping, and producing reports. The Virtual Research Environment provides free JupyterLab instances with persistent storage where you can run notebooks working with Swarm data. For more information, see the `Swarm-VRE docs <https://swarm-vre.readthedocs.io/>`_. |
5 | 5 |
|
6 | | -Click `here <https://nbviewer.jupyter.org/github/smithara/viresclient_examples/>`_ (nbviewer) to view viresclient_examples non-interactively. Sometimes notebooks won't render directly on the GitHub website - try `nbviewer <https://nbviewer.jupyter.org/>`_ instead. |
7 | 6 |
|
8 | | -Here is a list of related notebook repositories where you are welcome to submit changes or additions. Please get in touch if you would like your own repository to be listed here. |
9 | 7 |
|
10 | | - - https://github.com/smithara/viresclient_examples |
11 | | - - https://github.com/pacesm/jupyter_notebooks |
| 8 | +.. list-table:: Notebook repositories |
| 9 | + :header-rows: 1 |
| 10 | + :widths: 7 5 5 |
12 | 11 |
|
13 | | -Other repositories with wider scope: |
| 12 | + * - Name (GitHub Link) |
| 13 | + - View (nbviewer) |
| 14 | + - Launch/interact (VRE) |
| 15 | + * - `Swarm-DISC/Swarm_notebooks <https://github.com/Swarm-DISC/Swarm_notebooks>`_ |
| 16 | + - .. image:: https://img.shields.io/badge/render-nbviewer-orange.svg |
| 17 | + :target: https://nbviewer.jupyter.org/github/Swarm-DISC/Swarm_notebooks |
| 18 | + - (to do) |
| 19 | + * - `smithara/viresclient_examples <https://github.com/smithara/viresclient_examples>`_ |
| 20 | + - .. image:: https://img.shields.io/badge/render-nbviewer-orange.svg |
| 21 | + :target: https://nbviewer.jupyter.org/github/smithara/viresclient_examples |
| 22 | + - (to do) |
| 23 | + * - `pacesm/jupyter_notebooks <https://github.com/pacesm/jupyter_notebooks>`_ |
| 24 | + - .. image:: https://img.shields.io/badge/render-nbviewer-orange.svg |
| 25 | + :target: https://nbviewer.jupyter.org/github/pacesm/jupyter_notebooks |
| 26 | + - (to do) |
14 | 27 |
|
15 | | - - https://github.com/smithara/IAGA_SummerSchool2019 |
| 28 | + |
| 29 | +.. note:: |
| 30 | + |
| 31 | + Sometimes notebooks won't render directly on the GitHub website (or are slow). Try `nbviewer <https://nbviewer.jupyter.org/>`_ instead (see the "Render" links above). |
| 32 | + |
| 33 | +Notebooks can be uploaded to JupyterLab using the "Upload" button (which means you must first download the notebooks to your computer from GitHub). To easily access a full repository, open a command line console and use git: |
16 | 34 |
|
17 | 35 | To clone a repository to your working space:: |
18 | 36 |
|
19 | | - cd ~ |
20 | | - git clone https://github.com/smithara/viresclient_examples.git |
| 37 | + git clone https://github.com/Swarm-DISC/Swarm_notebooks.git |
| 38 | + |
| 39 | +(this will clone it into ``Swarm_notebooks`` within your current directory) |
21 | 40 |
|
22 | | -To clear any changes you made and fetch the latest version:: |
| 41 | +To clear any changes you made and fetch the latest version, from within ``Swarm_notebooks`` run:: |
23 | 42 |
|
24 | | - cd ~/viresclient_examples/ |
25 | 43 | git fetch |
26 | 44 | git reset --hard origin/master |
0 commit comments