Guide to Jupyter-Notebooks

This repository contains a collection of Jupyter-notebooks with instructions on how to work with the notebooks under different Python and R environments.

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live computer code, equations, visualizations and narrative text. For more information about the jupyter notebooks you can visit OGGM edu: how to notebooks. For an easier start up follow the tutorials in this repository.

Some features of the notebook wont display in the preview of Gitlab. Therefore, I recommend you download the repository, install jupyter notebooks following one of the options below and then visualise them locally.

  • Repository structure
graph LR;
    Repository --> R-notebooks ;
    Repository --> Python-notebooks;
		
    Python-notebooks --> id2["to-run-locally"];
    Python-notebooks --> id3["to-run-in-JASMIN"]
  1. 01_Installing_R_kernel.ipynb
  • Requirements for working with Python-based Jupyter-notebooks: when coding in Python you have different options for your virtual environments.

    Easy:

    • Conda or Miniconda: Python come with this installation.

    Intermediate and Advanced, uses python pip tool to install:

All examples can be found below:

  1. 01_Python_working_with_conda.ipynb
  2. 02_Python_working_with_virtualenv.ipynb
  3. 03_Python_notebooks_in_JASMIN.ipynb: JASMIN jupyter-lab works with virutalenv and pip.

See here Tips and keyboard shorts