Repository of examples showing off the use of Python for meteorology.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
GUI
deploy
examples
failing_examples
website
.gitattributes
.gitignore
.travis.yml
MakePost.md
README.md
blog-post.py
blog.tpl
environment.yml
nbconverter.py
setup.cfg
thredds_test_converter.py

README.md

Unidata Python Gallery

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 source activate <environment>. For example,

source activate gallery

To switch and/or deactivate environments:

source deactivate
source 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>