Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Users cannot modify this basic set of libraries. Instead, users can create their custom environments for Python 2.7 or Python 3.6, stored in the user’s home folder, and add additional libraries therein. For R, users can extend the basic library set by installing additional libraries in a local package repository, also stored in the user’s home folder.

A central instance Central instances of the Jupyter Notebook Server is are available under https://jupyterhub.awi.de for all users with a valid AWI accountAWI users, and under https://jupyterhub.mosaic-data.org for MOSAiC. Additionally, personal instances of Jupyterhub are available for users or workgroups on request. They have a limited life span, after which they are deleted automatically. As described before, custom environments remain, as they are stored in the user’s home folder and remain available in all instances of Jupyterhub at AWI.

...

The official Jupyterlab manual can be found at https://jupyterlab.readthedocs.io/en/stable/user/interface.html

Where to find your data

The included file browser (first icon in the left icon bar) shows your personal home folder.

The central storage is available in folder /isibhv and includes projects (/isibhv/projects), netscratch (/isibhv/netscratch), platforms-data (/isibhv/platforms), etc.

You can directly use those paths within your scripts and notebooks, but the folders are not directly accessible within the file browser.


You can place a link into your home folder:

Open a “terminal” and enter the following command: 

ln -s /isibhv/projects/myOwnProject ~/myProjectLink

“/isibhv/projects/myOwnProject” is the folder you want to link to and “myProjectLink” is the name under which the link will appear within your home folder (indicated by the "~" symbol).

How to close a notebook document

Whenever a kernel is attached to a notebook document, the notebook becomes a running program and thus occupies system memory.

However, such a running notebook/program does not automatically terminate when you log out from the Jupyterhub or close the notebook tab. Instead, you need to stop the notebook!

You can stop a running notebook by clicking “File” and “Close and shutdown notebook”.

The tab “Running Terminals and Kernels” (second icon on the left icon bar) lists all running notebooks. They can also be terminated by a click on “SHUT DOWN”.

Please stop all notebooks after you are done with your work!

Working with notebooks

A notebook document needs a connected kernel/environment to be executable. The active kernel is shown in the upper right corner. A click on that name opens a menu to change the kernel.

...

conda env create -n envName ipykernel

conda activate -n envName

conda install library1 library2 (…)

...

conda activate myEnv

conda install myEnvlibrary1 

If you use Pip, please activate the environment first:

...