Skip to content

pism/pism-tutorials

Repository files navigation

License: GPL-3.0 Code style: black Checked with mypy linting: pylint

pism-tutorials

Welcome to pism-tutorials using Jupyter Book.

This shows simulated Greenland surface speeds at 2300 based on an RCP 8.5 Scenario.

Installation

Get pism-tutorials source from GitHub:

$ git clone git@github.com:pism/pism-tutorials.git
$ cd pism-tutorials

Optionally create Conda environment named pism-tutorials:

$ conda env create -f environment.yml
$ conda activate pism-tutorials

or using Mamba instead:

$ mamba env create -f environment.yml
$ mamba activate pism-tutorials

Install pism-tutorials:

$ pip install .

Note that this will install PISM using the conda-channel pism, currently only available for osx-arm64 and linux architectures.

Building a Jupyter Book

Run the following command in your terminal:

jb build .

If you would like to work with a clean build, you can empty the build folder by running:

jb clean .

If jupyter execution is cached, this command will not delete the cached folder.

To remove the build folder (including cached executables), you can run:

jb clean --all .