Skip to content

NCAR/notebook-gallery

Repository files navigation

CircleCI

Notebook Gallery

This gallery is intended to provide working examples for how to perform data analysis for Earth System science using Pangeo, a collection of Python libraries including XArray, Dask, and Intake-ESM.

Try these notebooks on pangeo.binder.io

To try these notebooks in your web browser, just click on the binder link:

Binder

Running Locally

System Requirements

It is necessary to have the Conda python package manager on your system. Instructions for installing Miniconda, a lightweight version of the Conda system, can be found here

Downloading and Running the Notebooks

First, open a command line program and navigate to the directory where you would like to run the notebooks. Then give this command to download this repository:

git clone https://github.com/NCAR/notebook-gallery.git

The notebooks are intended to run within a Conda environment provided within this repository. To create the required conda environment, give these commands:

cd notebook-gallery
conda env create --name notebook-gallery --file ./environment.yml

To finish installing packages, give these commands:

conda activate notebook-gallery
python -m pip install .

Then to run the notebooks, give this command (within the activated conda environment):

jupyter lab

Within your web browser, navigate to the Python Notebook you wish to run, and begin interacting with it. An example video tutorial showing this process is given here

When you are done, you can hit CTRL-C to kill the lab session, and deactivate your conda environment with this command:

conda deactivate