Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Unidata/python-gallery

Repository files navigation

Unidata Python Gallery

THIS REPOSITORY IS NO LONGER MAINTAINED It has been replaced by Unidata's Python Training repository.

This is a collection of examples published in the Unidata blogs or just contributed. In addition to viewing them on the blog you can view them rendered at the web gallery, where you can also download the examples as Jupyter notebooks.

Installation Instructions

The current list of dependencies for this collection is:

The easiest way to install these libraries is with conda.

  1. Install Miniconda (Python 3.4) from Continuum Analytics. (Determine if your OS 32 or 64 bit)
  2. Once Miniconda is installed, from the command line (e.g., OS X terminal, cmd.exe), run these instructions to clone the repository and create the environment:
git clone https://github.com/Unidata/python-gallery

cd python-gallery

conda env create -f environment.yml

From a Unix command line (e.g., OS X terminal)

If your default shell is NOT bash, first type bash. To activate or switch to a conda environment, you can conda activate <environment>. For example,

conda activate gallery

To switch and/or deactivate environments:

conda deactivate
conda activate <environment>

From a Windows command line (e.g., cmd.exe)

To activate or switch to a conda environment, you can activate <environment>. For example,

activate gallery

To switch and/or deactivate environments:

deactivate
activate <environment>