Skip to content
Snippets Groups Projects
Commit e5011596 authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Merge branch 'setup-for-ci' into 'master'

Setup for ci

See merge request !80
parents 706ee21b cd367a04
No related branches found
No related tags found
1 merge request!80Setup for ci
Pipeline #33002 failed
......@@ -14,15 +14,13 @@ While jupyter notebooks with demonstrations are provided in the `notebooks/demo`
## Getting a DKRZ account:
* for model data users working in EU:
* for short and quick access, register at any time to the [Climate Analytics Service](https://portal.enes.org/data/data-metadata-service/climate-analytics-service#DKRZ), or
* for longer access, check the calls for applications to the [Analysis Platforms services](https://portal.enes.org/data/data-metadata-service/analysis-platforms), or
* for short and quick access, register at any time to the [Climate Analytics Service](https://is.enes.org/sdm-climate-analytics-data/), or
* for longer access, check the calls for applications to the [Analysis Platforms services](https://is.enes.org/sdm-analysis-platforms-service/), or
* for model data users with partners in the German earth systems research community, see [here](https://www.dkrz.de/services/bereitstellung-von-rechenleistung).
Visit [our blog](https://data-infrastructure-services.gitlab-pages.dkrz.de/tutorials-and-use-cases/), we have animations on how to log in to the DKRZ resources and further explanations on the content of this repository.
## Quick start
To run the notebooks, you only need a browser (like Firefox, Chrome, Safari,...) and internet connection.
To run the notebooks, you need a browser (like Firefox, Chrome, Safari,...) and internet connection.
1. Open the [DKRZ Jupyterhub](https://jupyterhub.dkrz.de) in your browser.
2. Login with your DKRZ account (if you do not have one account yet, see the links above).
......@@ -39,12 +37,19 @@ To run the notebooks, you only need a browser (like Firefox, Chrome, Safari,...)
Some notebooks need individual Jupyter kernel:
1. Open the terminal and run a script to make a new kernel:
1. Open a terminal.
2. Run the following lines to create a conda environment and a kernel for the notebook:
```console
$ bash make_kernel.sh
module load python3 # works at levante. otherwise, install conda or mamba
#the following creates the environment:
mamba env create -f environment.yml # set -p TARGETPATH for installing not in home
#activate the environment:
conda activate nbdemo #sometimes you need to use 'source' instead of conda and the full path instead of 'nbdemo'
#the following creates the kernel
python -m ipykernel install --user --name nbdemokernel
```
2. ... it takes a couple of minutes ...
3. When done then go to you Jupyter and choose the new Kernel we just created ``Notebook Demo``.
3. When done then go to you Jupyter and choose the new Kernel we just created ``nbdemokerenl``.
4. Now you can run also the *summer days* notebook.
## Content and structure
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment